Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 183.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 82.53 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.028e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2032, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.656, allocations: 458.8 MB / 1.333 GB, free: 285.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/1.656, allocations: 91.95 kB / 1.333 GB, free: 285.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 40.35/42.01, allocations: 10.16 GB / 11.49 GB, free: 79.38 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.545e-06/42.01, allocations: 0 / 11.49 GB, free: 79.38 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002769/42.01, allocations: 347.5 kB / 11.49 GB, free: 79.32 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04171/42.05, allocations: 11.06 MB / 11.51 GB, free: 74.48 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/42.05, allocations: 8.719 kB / 11.51 GB, free: 74.48 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/42.07, allocations: 2.072 MB / 11.51 GB, free: 73.7 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05335/42.12, allocations: 18.24 MB / 11.53 GB, free: 71.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005191/42.12, allocations: 203.7 kB / 11.53 GB, free: 71.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003117/42.12, allocations: 437.2 kB / 11.53 GB, free: 71.59 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0157/42.14, allocations: 6.83 MB / 11.53 GB, free: 71.57 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/42.16, allocations: 7.399 MB / 11.54 GB, free: 70.53 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/42.16, allocations: 20.45 kB / 11.54 GB, free: 70.53 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/42.16, allocations: 13.09 kB / 11.54 GB, free: 70.53 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/42.17, allocations: 148.3 kB / 11.54 GB, free: 70.53 MB / 1.135 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.09167/42.26, allocations: 48.6 MB / 11.59 GB, free: 43.89 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008747/42.27, allocations: 5.383 MB / 11.59 GB, free: 43.73 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005738/42.27, allocations: 3.933 MB / 11.6 GB, free: 43.67 MB / 1.135 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.03563/42.31, allocations: 13.38 MB / 11.61 GB, free: 40.53 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006458/42.31, allocations: 3.099 MB / 11.61 GB, free: 40.43 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0162/42.33, allocations: 2.284 MB / 11.62 GB, free: 40.23 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 5.193e-05/42.33, allocations: 0 / 11.62 GB, free: 40.23 MB / 1.135 GB Notification: Performance of matching and sorting (n=328): time 0.05441/42.38, allocations: 15.59 MB / 11.63 GB, free: 37.41 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/42.38, allocations: 88.02 kB / 11.63 GB, free: 37.34 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03088/42.42, allocations: 11.32 MB / 11.64 GB, free: 36.62 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.002021/42.42, allocations: 36.83 kB / 11.64 GB, free: 36.59 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01018/42.43, allocations: 6.19 MB / 11.65 GB, free: 35.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.002398/42.43, allocations: 1.077 MB / 11.65 GB, free: 34.39 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/42.43, allocations: 0.6562 kB / 11.65 GB, free: 34.39 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0007871/42.43, allocations: 0.5447 MB / 11.65 GB, free: 34.07 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006076/42.44, allocations: 3 MB / 11.65 GB, free: 34.05 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007299/42.45, allocations: 5.76 MB / 11.66 GB, free: 30.69 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008657/42.45, allocations: 3.953 MB / 11.66 GB, free: 30.52 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/42.45, allocations: 19.03 kB / 11.66 GB, free: 30.52 MB / 1.135 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02674/42.48, allocations: 10.69 MB / 11.67 GB, free: 29.61 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01105/42.49, allocations: 38.34 MB / 11.71 GB, free: 5.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/42.49, allocations: 59.47 kB / 11.71 GB, free: 5.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/42.5, allocations: 1.353 MB / 11.71 GB, free: 5.484 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008492/42.5, allocations: 1.394 MB / 11.71 GB, free: 5.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/42.52, allocations: 9.709 MB / 11.72 GB, free: 15.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/42.53, allocations: 0.7486 MB / 11.72 GB, free: 15.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/42.53, allocations: 416.5 kB / 11.72 GB, free: 15.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/42.53, allocations: 3.562 kB / 11.72 GB, free: 15.77 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02272/42.56, allocations: 8.454 MB / 11.73 GB, free: 15.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002723/42.56, allocations: 58.31 kB / 11.73 GB, free: 15.51 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/42.56, allocations: 1.465 MB / 11.73 GB, free: 15.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006802/42.57, allocations: 1.383 MB / 11.73 GB, free: 15.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/42.59, allocations: 12.54 MB / 11.75 GB, free: 10.94 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/42.6, allocations: 0.7188 MB / 11.75 GB, free: 10.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/42.6, allocations: 379.8 kB / 11.75 GB, free: 10.84 MB / 1.167 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.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: 269 * 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 (640): * Single equations (assignments): 625 * 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: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.003437/42.61, allocations: 309.8 kB / 11.75 GB, free: 10.69 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01615/42.62, allocations: 6.543 MB / 11.75 GB, free: 9.793 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004428/42.63, allocations: 1.129 MB / 11.75 GB, free: 9.164 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/42.64, allocations: 7.573 MB / 11.76 GB, free: 8.582 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/42.64, allocations: 41.48 kB / 11.76 GB, free: 8.582 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/42.64, allocations: 0 / 11.76 GB, free: 8.582 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008947/42.65, allocations: 5.695 MB / 11.77 GB, free: 8.047 MB / 1.167 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.03859/42.69, allocations: 16.06 MB / 11.78 GB, free: 6.352 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/42.69, allocations: 0 / 11.78 GB, free: 6.352 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003151/42.7, allocations: 0.6052 MB / 11.78 GB, free: 6.305 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/42.7, allocations: 1.118 MB / 11.79 GB, free: 6.012 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003977/42.7, allocations: 61.36 kB / 11.79 GB, free: 6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/42.7, allocations: 8.113 MB / 11.79 GB, free: 15.47 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/42.7, allocations: 0 / 11.79 GB, free: 15.47 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/42.73, allocations: 10.37 MB / 11.8 GB, free: 8.176 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009618/42.74, allocations: 2.133 MB / 11.81 GB, free: 6.309 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005121/42.74, allocations: 5.125 kB / 11.81 GB, free: 6.305 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01195/42.75, allocations: 0.6138 MB / 11.81 GB, free: 5.883 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/42.75, allocations: 235.3 kB / 11.81 GB, free: 5.738 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001091/42.76, allocations: 162.8 kB / 11.81 GB, free: 5.609 MB / 1.182 GB Notification: Performance of sorting global known variables: time 1.019/43.77, allocations: 8.491 MB / 11.81 GB, free: 124.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.11e-07/43.77, allocations: 0.5938 kB / 11.81 GB, free: 124.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.04071/43.82, allocations: 5.11 MB / 11.82 GB, free: 124.5 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (274): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.02835/43.84, allocations: 14.92 MB / 11.83 GB, free: 121.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0234/43.87, allocations: 11.85 MB / 11.85 GB, free: 121.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/43.87, allocations: 0 / 11.85 GB, free: 121.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004961/43.87, allocations: 2.643 MB / 11.85 GB, free: 121.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03293/43.91, allocations: 5.831 MB / 11.85 GB, free: 121.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04975/43.95, allocations: 19.25 MB / 11.87 GB, free: 117.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008618/43.96, allocations: 6.689 MB / 11.88 GB, free: 116.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02739/43.99, allocations: 5.837 MB / 11.89 GB, free: 116 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008901/44, allocations: 5.361 MB / 11.89 GB, free: 116 MB / 1.182 GB Notification: Performance of SimCode: time 9.92e-07/44, allocations: 1.688 kB / 11.89 GB, free: 116 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5003/44.5, allocations: 338.3 MB / 12.22 GB, free: 12.82 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/44.5, allocations: 181.3 kB / 12.22 GB, free: 12.62 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.73/63.23, allocations: 0 / 12.22 GB, free: 12.62 MB / 1.214 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)