Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 189.9 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.42 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004206, allocations: 14.72 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2665, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.807/2.073, allocations: 464.2 MB / 1.433 GB, free: 273.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/2.074, allocations: 104.1 kB / 1.433 GB, free: 273.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 37.66/39.73, allocations: 8.723 GB / 10.16 GB, free: 81.45 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.036e-06/39.73, allocations: 0 / 10.16 GB, free: 81.45 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00609/39.74, allocations: 0.5155 MB / 10.16 GB, free: 81.34 MB / 1.214 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.11/39.85, allocations: 21.42 MB / 10.18 GB, free: 73.39 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/39.85, allocations: 10.5 kB / 10.18 GB, free: 73.39 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02953/39.88, allocations: 2.314 MB / 10.18 GB, free: 72.36 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1038/39.98, allocations: 23.53 MB / 10.2 GB, free: 69.55 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002653/39.98, allocations: 0.713 MB / 10.2 GB, free: 69.53 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01207/40, allocations: 1.023 MB / 10.2 GB, free: 69.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05994/40.06, allocations: 16.88 MB / 10.22 GB, free: 67.52 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001052/40.06, allocations: 11.5 kB / 10.22 GB, free: 67.51 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007106/40.06, allocations: 369.4 kB / 10.22 GB, free: 67.51 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003803/40.06, allocations: 212.2 kB / 10.22 GB, free: 67.51 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04611/40.11, allocations: 19.86 MB / 10.24 GB, free: 67.38 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1768/40.29, allocations: 79.4 MB / 10.32 GB, free: 29.23 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02112/40.31, allocations: 11.94 MB / 10.33 GB, free: 23.75 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08469/40.39, allocations: 33 MB / 10.36 GB, free: 5.555 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02474/40.42, allocations: 9.652 MB / 10.37 GB, free: 15.47 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05439/40.47, allocations: 14.9 MB / 10.39 GB, free: 5.02 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 5.909e-05/40.47, allocations: 0 / 10.39 GB, free: 5.02 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 2.11/42.58, allocations: 200.7 MB / 10.58 GB, free: 94.7 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009132/42.58, allocations: 2.531 MB / 10.58 GB, free: 91.7 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0493/42.63, allocations: 14.9 MB / 10.6 GB, free: 90.89 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006725/42.64, allocations: 262.9 kB / 10.6 GB, free: 90.86 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01643/42.66, allocations: 7.911 MB / 10.61 GB, free: 89.48 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007602/42.66, allocations: 2.816 MB / 10.61 GB, free: 88.05 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005001/42.67, allocations: 206.6 kB / 10.61 GB, free: 88.05 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001359/42.67, allocations: 0.7574 MB / 10.61 GB, free: 87.72 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02308/42.69, allocations: 10.36 MB / 10.62 GB, free: 87.67 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03019/42.72, allocations: 14.06 MB / 10.63 GB, free: 83.62 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02834/42.75, allocations: 11.67 MB / 10.65 GB, free: 83.3 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00018/42.75, allocations: 16.31 kB / 10.65 GB, free: 83.3 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.5936/43.35, allocations: 130 MB / 10.77 GB, free: 49.85 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.008786/43.35, allocations: 36.69 MB / 10.81 GB, free: 12.25 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007059/43.36, allocations: 123.1 kB / 10.81 GB, free: 12.13 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033/45.39, allocations: 147.1 MB / 10.95 GB, free: 124.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/45.41, allocations: 2.688 MB / 10.96 GB, free: 124.6 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1608/45.57, allocations: 76.38 MB / 11.03 GB, free: 117.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03111/45.6, allocations: 1.556 MB / 11.03 GB, free: 117.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007008/45.6, allocations: 0.9146 MB / 11.03 GB, free: 117.6 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/45.6, allocations: 4.156 kB / 11.03 GB, free: 117.6 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5829/46.19, allocations: 128.7 MB / 11.16 GB, free: 115.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006765/46.19, allocations: 123.8 kB / 11.16 GB, free: 115.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5923/46.78, allocations: 147.4 MB / 11.3 GB, free: 3.648 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01558/46.8, allocations: 2.663 MB / 11.3 GB, free: 1.164 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408/48.2, allocations: 80.69 MB / 11.38 GB, free: 153.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02805/48.23, allocations: 1.527 MB / 11.38 GB, free: 153.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006443/48.24, allocations: 0.8723 MB / 11.39 GB, free: 153.3 MB / 1.292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,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: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01991/48.26, allocations: 4.279 MB / 11.39 GB, free: 153.1 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01225/48.27, allocations: 1.555 MB / 11.39 GB, free: 153.1 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2112/48.48, allocations: 50.83 MB / 11.44 GB, free: 152.4 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002173/48.48, allocations: 100.4 kB / 11.44 GB, free: 152.4 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002983/48.48, allocations: 33.42 kB / 11.44 GB, free: 152.4 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1955/48.68, allocations: 44.8 MB / 11.49 GB, free: 151.7 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2663/48.94, allocations: 69.12 MB / 11.55 GB, free: 147.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001801/48.94, allocations: 3.125 kB / 11.55 GB, free: 147.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01127/48.96, allocations: 1.838 MB / 11.55 GB, free: 147.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1751/49.13, allocations: 42.26 MB / 11.6 GB, free: 147.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003459/49.13, allocations: 339.5 kB / 11.6 GB, free: 147.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05918/49.19, allocations: 31.61 MB / 11.63 GB, free: 140.3 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/49.19, allocations: 0 / 11.63 GB, free: 140.3 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2047/49.4, allocations: 59.05 MB / 11.68 GB, free: 114.8 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01747/49.42, allocations: 3.654 MB / 11.69 GB, free: 112.6 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008976/49.42, allocations: 280.4 kB / 11.69 GB, free: 112.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0211/49.45, allocations: 1.343 MB / 11.69 GB, free: 111.8 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004584/49.45, allocations: 0.5853 MB / 11.69 GB, free: 111.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002683/49.45, allocations: 359.3 kB / 11.69 GB, free: 111.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03119/49.48, allocations: 11.42 MB / 11.7 GB, free: 105.4 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.4e-07/49.48, allocations: 0 / 11.7 GB, free: 105.4 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06992/49.55, allocations: 8.807 MB / 11.71 GB, free: 97.7 MB / 1.292 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,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: 2 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01287/49.57, allocations: 5.643 MB / 11.72 GB, free: 93.45 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1016/49.67, allocations: 43.62 MB / 11.76 GB, free: 59.18 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.572e-05/49.67, allocations: 10.31 kB / 11.76 GB, free: 59.16 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02922/49.7, allocations: 11.49 MB / 11.77 GB, free: 49.36 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06495/49.76, allocations: 7.762 MB / 11.78 GB, free: 44.08 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.41/52.17, allocations: 40.49 MB / 11.82 GB, free: 134 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02681/52.2, allocations: 9.405 MB / 11.83 GB, free: 132.8 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03833/52.24, allocations: 5.525 MB / 11.83 GB, free: 132.7 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01015/52.25, allocations: 1.31 MB / 11.83 GB, free: 132.7 MB / 1.292 GB Notification: Performance of SimCode: time 1.052e-06/52.25, allocations: 0 / 11.83 GB, free: 132.7 MB / 1.292 GB Notification: Performance of Templates: time 2.083/54.33, allocations: 474.9 MB / 12.3 GB, free: 187.8 MB / 1.339 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)