Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 180.9 kB / 360.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 96.47 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.253e-05, allocations: 0 / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8112, allocations: 115.2 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/2.25, allocations: 463.2 MB / 1.416 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/2.25, allocations: 96.44 kB / 1.416 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 49.65/51.9, allocations: 8.658 GB / 10.07 GB, free: 93.06 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.414e-06/51.9, allocations: 0 / 10.07 GB, free: 93.06 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005845/51.91, allocations: 0.5162 MB / 10.07 GB, free: 92.96 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.08093/51.99, allocations: 14.15 MB / 10.09 GB, free: 87.13 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/51.99, allocations: 11.36 kB / 10.09 GB, free: 87.13 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/52.01, allocations: 2.307 MB / 10.09 GB, free: 86.12 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1173/52.13, allocations: 23.25 MB / 10.11 GB, free: 83.54 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008549/52.13, allocations: 260.8 kB / 10.11 GB, free: 83.54 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007118/52.14, allocations: 0.5874 MB / 10.11 GB, free: 83.54 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05459/52.19, allocations: 19.71 MB / 10.13 GB, free: 83.5 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05456/52.25, allocations: 15.42 MB / 10.15 GB, free: 81.68 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006904/52.25, allocations: 15.12 kB / 10.15 GB, free: 81.68 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005144/52.25, allocations: 18.61 kB / 10.15 GB, free: 81.68 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/52.25, allocations: 218.5 kB / 10.15 GB, free: 81.68 MB / 1.198 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.2105/52.46, allocations: 77.99 MB / 10.22 GB, free: 48.09 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02779/52.49, allocations: 12.4 MB / 10.24 GB, free: 47.67 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02014/52.51, allocations: 9.28 MB / 10.25 GB, free: 47.6 MB / 1.198 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.1363/52.65, allocations: 32.99 MB / 10.28 GB, free: 38.72 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03356/52.68, allocations: 8.975 MB / 10.29 GB, free: 38.55 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1088/52.79, allocations: 14.95 MB / 10.3 GB, free: 37.91 MB / 1.198 GB Notification: Performance of pre-optimization done (n=582): time 5.973e-05/52.79, allocations: 0 / 10.3 GB, free: 37.91 MB / 1.198 GB Notification: Performance of matching and sorting (n=584): time 1.323/54.11, allocations: 138.9 MB / 10.44 GB, free: 20.86 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009705/54.11, allocations: 2.514 MB / 10.44 GB, free: 17.77 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05903/54.17, allocations: 13.87 MB / 10.45 GB, free: 9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.006043/54.18, allocations: 41.7 kB / 10.45 GB, free: 8.953 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01911/54.2, allocations: 7.907 MB / 10.46 GB, free: 1.688 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.007577/54.21, allocations: 1.997 MB / 10.46 GB, free: 15.84 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005248/54.21, allocations: 4 kB / 10.46 GB, free: 15.84 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001564/54.21, allocations: 0.6759 MB / 10.46 GB, free: 15.27 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02763/54.24, allocations: 8.396 MB / 10.47 GB, free: 7.961 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243/55.48, allocations: 11.86 MB / 10.48 GB, free: 102.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03148/55.52, allocations: 9.856 MB / 10.49 GB, free: 102.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001923/55.52, allocations: 14.66 kB / 10.49 GB, free: 102.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.348/56.86, allocations: 124.3 MB / 10.61 GB, free: 101.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007022/56.87, allocations: 36.54 MB / 10.65 GB, free: 64.25 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007123/56.87, allocations: 121.6 kB / 10.65 GB, free: 64.25 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357/58.23, allocations: 143.7 MB / 10.79 GB, free: 59.65 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02164/58.25, allocations: 2.139 MB / 10.79 GB, free: 59.22 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2563/58.51, allocations: 67.44 MB / 10.86 GB, free: 20.08 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03182/58.54, allocations: 0.9541 MB / 10.86 GB, free: 19.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005447/58.54, allocations: 0.8309 MB / 10.86 GB, free: 18.44 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/58.54, allocations: 4.938 kB / 10.86 GB, free: 18.43 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.455/61, allocations: 121.6 MB / 10.98 GB, free: 147.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006733/61, allocations: 117.2 kB / 10.98 GB, free: 147.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339/62.34, allocations: 143.5 MB / 11.12 GB, free: 147.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01816/62.36, allocations: 2.104 MB / 11.12 GB, free: 147.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3129/62.67, allocations: 69.53 MB / 11.19 GB, free: 143.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03126/62.7, allocations: 0.9291 MB / 11.19 GB, free: 143.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005109/62.71, allocations: 0.794 MB / 11.19 GB, free: 143.8 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.008734/62.72, allocations: 355.2 kB / 11.19 GB, free: 143.7 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00869/62.72, allocations: 1.474 MB / 11.19 GB, free: 143.7 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3506/63.07, allocations: 43.6 MB / 11.24 GB, free: 142.7 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001688/63.07, allocations: 68.72 kB / 11.24 GB, free: 142.7 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001164/63.08, allocations: 29.44 kB / 11.24 GB, free: 142.7 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3086/63.38, allocations: 38.46 MB / 11.27 GB, free: 137 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3732/63.76, allocations: 58.18 MB / 11.33 GB, free: 91.12 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.282e-05/63.76, allocations: 128 / 11.33 GB, free: 91.12 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01278/63.77, allocations: 1.135 MB / 11.33 GB, free: 90.08 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3357/64.11, allocations: 41.01 MB / 11.37 GB, free: 49.98 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002606/64.11, allocations: 150.3 kB / 11.37 GB, free: 49.87 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0998/64.21, allocations: 27.58 MB / 11.4 GB, free: 31.02 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/64.21, allocations: 0 / 11.4 GB, free: 31.02 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.565/65.77, allocations: 49.02 MB / 11.45 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01667/65.79, allocations: 3.181 MB / 11.45 GB, free: 153.7 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008495/65.8, allocations: 79.44 kB / 11.45 GB, free: 153.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02403/65.82, allocations: 0.8029 MB / 11.45 GB, free: 153.7 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003625/65.83, allocations: 433.3 kB / 11.45 GB, free: 153.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002494/65.83, allocations: 265.6 kB / 11.45 GB, free: 153.7 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03588/65.86, allocations: 10.4 MB / 11.46 GB, free: 153.3 MB / 1.276 GB Notification: Performance of sort global known variables: time 9.72e-07/65.87, allocations: 3.531 kB / 11.46 GB, free: 153.3 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.07824/65.94, allocations: 7.889 MB / 11.47 GB, free: 153.3 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (527): * Single equations (assignments): 505 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01604/65.96, allocations: 5.276 MB / 11.47 GB, free: 151.4 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1575/66.12, allocations: 36.12 MB / 11.51 GB, free: 148.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.556e-05/66.12, allocations: 13.09 kB / 11.51 GB, free: 148.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02805/66.15, allocations: 8.491 MB / 11.52 GB, free: 148.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06661/66.21, allocations: 7.564 MB / 11.52 GB, free: 148 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08135/66.29, allocations: 26.13 MB / 11.55 GB, free: 142.5 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02021/66.31, allocations: 8.969 MB / 11.56 GB, free: 141.4 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.08204/66.4, allocations: 8.219 MB / 11.57 GB, free: 141.2 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007736/66.4, allocations: 0.8378 MB / 11.57 GB, free: 141.2 MB / 1.276 GB Notification: Performance of SimCode: time 2.665e-06/66.4, allocations: 0 / 11.57 GB, free: 141.2 MB / 1.276 GB Notification: Performance of Templates: time 3.6/70, allocations: 428.8 MB / 11.99 GB, free: 149.1 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)