Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7189/0.7189, allocations: 127.4 MB / 134.9 MB, free: 3.738 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009325/0.0009323, allocations: 180.8 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.2 MB / 399.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008788/0.0008788, allocations: 92.39 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.144e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.345, allocations: 428.5 MB / 1.04 GB, free: 92.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.345, allocations: 92.39 kB / 1.04 GB, free: 92.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 40/41.34, allocations: 9.891 GB / 10.93 GB, free: 33.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/41.34, allocations: 0 / 10.93 GB, free: 33.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003572/41.35, allocations: 384.7 kB / 10.93 GB, free: 33.16 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.04827/41.39, allocations: 11.99 MB / 10.94 GB, free: 21.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/41.39, allocations: 12.03 kB / 10.94 GB, free: 21.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/41.41, allocations: 2.327 MB / 10.95 GB, free: 18.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.036/42.44, allocations: 21.27 MB / 10.97 GB, free: 41.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007841/42.45, allocations: 223.1 kB / 10.97 GB, free: 41.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005113/42.45, allocations: 486.9 kB / 10.97 GB, free: 41.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04011/42.49, allocations: 18.2 MB / 10.98 GB, free: 41.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/42.53, allocations: 12.85 MB / 11 GB, free: 40.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007001/42.53, allocations: 13.41 kB / 11 GB, free: 40.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005107/42.54, allocations: 12.69 kB / 11 GB, free: 40.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/42.54, allocations: 180.9 kB / 11 GB, free: 40.68 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1584/42.7, allocations: 73.09 MB / 11.07 GB, free: 23.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/42.71, allocations: 10.17 MB / 11.08 GB, free: 23.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01462/42.73, allocations: 8.734 MB / 11.09 GB, free: 23.21 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.07337/42.8, allocations: 27.98 MB / 11.11 GB, free: 30.77 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01616/42.82, allocations: 7.94 MB / 11.12 GB, free: 30.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05004/42.87, allocations: 14.85 MB / 11.14 GB, free: 30.54 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=424): time 5.995e-05/42.87, allocations: 3.188 kB / 11.14 GB, free: 30.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=426): time 0.1734/43.04, allocations: 47.34 MB / 11.18 GB, free: 27.69 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/43.04, allocations: 105.1 kB / 11.18 GB, free: 27.62 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03542/43.08, allocations: 11.62 MB / 11.19 GB, free: 26.95 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004258/43.08, allocations: 36.42 kB / 11.19 GB, free: 26.92 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01052/43.09, allocations: 6.686 MB / 11.2 GB, free: 25.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00475/43.1, allocations: 1.402 MB / 11.2 GB, free: 25.06 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/43.1, allocations: 4.438 kB / 11.2 GB, free: 25.06 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006272/43.1, allocations: 0.5652 MB / 11.2 GB, free: 24.74 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01139/43.11, allocations: 7.302 MB / 11.21 GB, free: 24.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/43.13, allocations: 9.931 MB / 11.22 GB, free: 21.59 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/43.14, allocations: 8.338 MB / 11.23 GB, free: 21.48 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/43.14, allocations: 13.44 kB / 11.23 GB, free: 21.48 MB / 0.9792 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.1021/43.25, allocations: 31.64 MB / 11.26 GB, free: 19.06 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.01517/43.26, allocations: 36.04 MB / 11.29 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002631/43.26, allocations: 57.84 kB / 11.29 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73/44.99, allocations: 148.7 MB / 11.44 GB, free: 102.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009607/45, allocations: 1.509 MB / 11.44 GB, free: 102.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04303/45.04, allocations: 25.5 MB / 11.47 GB, free: 98.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02235/45.07, allocations: 1.21 MB / 11.47 GB, free: 98.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004358/45.07, allocations: 0.7592 MB / 11.47 GB, free: 98.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/45.07, allocations: 4.188 kB / 11.47 GB, free: 98.45 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5535/45.62, allocations: 104 MB / 11.57 GB, free: 96.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002795/45.62, allocations: 55.47 kB / 11.57 GB, free: 96.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6232/46.25, allocations: 143.6 MB / 11.71 GB, free: 16.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00743/46.26, allocations: 1.473 MB / 11.71 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072/47.33, allocations: 25.84 MB / 11.74 GB, free: 114.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02178/47.35, allocations: 0.8236 MB / 11.74 GB, free: 114.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004667/47.35, allocations: 0.701 MB / 11.74 GB, free: 114.5 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (659): * Single equations (assignments): 647 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 40,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006107/47.36, allocations: 303.1 kB / 11.74 GB, free: 114.4 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08861/47.45, allocations: 26.42 MB / 11.76 GB, free: 114.2 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007089/47.46, allocations: 1.211 MB / 11.77 GB, free: 114.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08215/47.54, allocations: 24.49 MB / 11.79 GB, free: 113.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001258/47.54, allocations: 57.12 kB / 11.79 GB, free: 113.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/47.54, allocations: 3.531 kB / 11.79 GB, free: 113.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06103/47.6, allocations: 19.76 MB / 11.81 GB, free: 113.3 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1062/47.71, allocations: 41.35 MB / 11.85 GB, free: 107.4 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.662e-05/47.71, allocations: 5.453 kB / 11.85 GB, free: 107.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005294/47.71, allocations: 0.8328 MB / 11.85 GB, free: 107.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1846/47.9, allocations: 41.9 MB / 11.89 GB, free: 107.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002836/47.9, allocations: 84.77 kB / 11.89 GB, free: 107.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09953/48, allocations: 38.73 MB / 11.93 GB, free: 101.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/48, allocations: 3.953 kB / 11.93 GB, free: 101.2 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2118/48.21, allocations: 53.07 MB / 11.98 GB, free: 99.56 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01227/48.22, allocations: 2.717 MB / 11.98 GB, free: 98.78 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005837/48.23, allocations: 7.438 kB / 11.98 GB, free: 98.78 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01674/48.24, allocations: 1.029 MB / 11.98 GB, free: 98.75 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002753/48.25, allocations: 373.2 kB / 11.98 GB, free: 98.75 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001152/48.25, allocations: 233.6 kB / 11.98 GB, free: 98.75 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.021/48.27, allocations: 8.694 MB / 11.99 GB, free: 98.39 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.41e-07/48.27, allocations: 0 / 11.99 GB, free: 98.39 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05582/48.33, allocations: 6.679 MB / 12 GB, free: 98.39 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (369): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.2157/48.54, allocations: 58.83 MB / 12.06 GB, free: 65.18 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06081/48.6, allocations: 29.05 MB / 12.09 GB, free: 50.75 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/48.6, allocations: 4 kB / 12.09 GB, free: 50.74 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.99/49.59, allocations: 8.21 MB / 12.09 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05309/49.65, allocations: 6.494 MB / 12.1 GB, free: 116.2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/49.75, allocations: 28.88 MB / 12.13 GB, free: 111.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01772/49.77, allocations: 7.221 MB / 12.14 GB, free: 110.9 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04319/49.81, allocations: 6.167 MB / 12.14 GB, free: 110.8 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01765/49.83, allocations: 6.081 MB / 12.15 GB, free: 110.8 MB / 1.026 GB Notification: Performance of SimCode: time 1.944e-06/49.83, allocations: 0.75 kB / 12.15 GB, free: 110.8 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.753/52.58, allocations: 0.521 GB / 12.67 GB, free: 102.1 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/52.58, allocations: 174.7 kB / 12.67 GB, free: 101.9 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.72/79.3, allocations: 0 / 12.67 GB, free: 101.9 MB / 1.026 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)