Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001126/0.001126, allocations: 180.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 82.62 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.694e-05, allocations: 4 kB / 0.8597 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6834, allocations: 116.3 MB / 0.9732 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.809, allocations: 464.2 MB / 1.427 GB, free: 88.74 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/1.81, allocations: 96.94 kB / 1.427 GB, free: 88.69 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 25.69/27.5, allocations: 6.385 GB / 7.812 GB, free: 83.46 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.336e-06/27.5, allocations: 6.359 kB / 7.812 GB, free: 83.46 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004297/27.5, allocations: 0.5187 MB / 7.812 GB, free: 83.35 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.06087/27.56, allocations: 14.16 MB / 7.826 GB, free: 77.28 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/27.56, allocations: 9.062 kB / 7.826 GB, free: 77.28 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/27.58, allocations: 2.312 MB / 7.828 GB, free: 76.25 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07539/27.66, allocations: 23.33 MB / 7.851 GB, free: 73.54 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007668/27.66, allocations: 260.8 kB / 7.851 GB, free: 73.54 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006058/27.66, allocations: 0.5891 MB / 7.852 GB, free: 73.53 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04059/27.7, allocations: 19.92 MB / 7.871 GB, free: 73.48 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04015/27.74, allocations: 15.56 MB / 7.887 GB, free: 71.61 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005902/27.74, allocations: 13.03 kB / 7.887 GB, free: 71.61 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004617/27.75, allocations: 22.41 kB / 7.887 GB, free: 71.61 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003429/27.75, allocations: 212.3 kB / 7.887 GB, free: 71.61 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.1488/27.9, allocations: 77.16 MB / 7.962 GB, free: 39.14 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/27.92, allocations: 13.18 MB / 7.975 GB, free: 38.68 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01316/27.93, allocations: 9.812 MB / 7.985 GB, free: 38.58 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.0794/28.01, allocations: 33.57 MB / 8.017 GB, free: 21.12 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01675/28.03, allocations: 9.177 MB / 8.026 GB, free: 17.83 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04454/28.07, allocations: 14.97 MB / 8.041 GB, free: 16.41 MB / 1.198 GB Notification: Performance of pre-optimization done (n=606): time 6.805e-05/28.07, allocations: 0 / 8.041 GB, free: 16.41 MB / 1.198 GB Notification: Performance of matching and sorting (n=608): time 1.748/29.82, allocations: 141.1 MB / 8.179 GB, free: 114.5 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006903/29.82, allocations: 2.509 MB / 8.181 GB, free: 111.5 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0392/29.86, allocations: 13.84 MB / 8.195 GB, free: 110.8 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004777/29.86, allocations: 47.39 kB / 8.195 GB, free: 110.8 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01216/29.88, allocations: 7.766 MB / 8.202 GB, free: 110.3 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005593/29.88, allocations: 2.069 MB / 8.204 GB, free: 110.2 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003252/29.88, allocations: 1.75 kB / 8.204 GB, free: 110.2 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.000852/29.89, allocations: 0.6808 MB / 8.205 GB, free: 109.8 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01638/29.9, allocations: 8.554 MB / 8.213 GB, free: 109.8 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02037/29.92, allocations: 12.05 MB / 8.225 GB, free: 105.9 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02113/29.94, allocations: 10.02 MB / 8.235 GB, free: 105.8 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/29.94, allocations: 13.84 kB / 8.235 GB, free: 105.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.5997/30.54, allocations: 125.3 MB / 8.357 GB, free: 102.6 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007591/30.55, allocations: 32.83 MB / 8.389 GB, free: 68.23 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000609/30.55, allocations: 111.3 kB / 8.389 GB, free: 68.23 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6142/31.17, allocations: 144.6 MB / 8.531 GB, free: 12.23 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01244/31.18, allocations: 2.027 MB / 8.533 GB, free: 10.36 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283/32.46, allocations: 68.76 MB / 8.6 GB, free: 154.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0234/32.49, allocations: 0.9406 MB / 8.601 GB, free: 154.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005542/32.49, allocations: 0.8315 MB / 8.602 GB, free: 154.9 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/32.49, allocations: 3.25 kB / 8.602 GB, free: 154.9 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6023/33.09, allocations: 122.2 MB / 8.721 GB, free: 154.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000655/33.09, allocations: 111.2 kB / 8.721 GB, free: 154.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6197/33.71, allocations: 144.5 MB / 8.862 GB, free: 150.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/33.73, allocations: 2.003 MB / 8.864 GB, free: 150.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1445/33.87, allocations: 73.27 MB / 8.936 GB, free: 110.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02125/33.89, allocations: 0.9204 MB / 8.936 GB, free: 110 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004887/33.9, allocations: 0.7842 MB / 8.937 GB, free: 109.3 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (889): * Single equations (assignments): 811 * 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 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.007774/33.9, allocations: 348.5 kB / 8.938 GB, free: 109.1 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006981/33.91, allocations: 1.481 MB / 8.939 GB, free: 108.4 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1805/34.09, allocations: 44.46 MB / 8.982 GB, free: 71.83 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001693/34.09, allocations: 78.11 kB / 8.982 GB, free: 71.76 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.584e-05/34.09, allocations: 28 kB / 8.983 GB, free: 71.73 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1628/34.25, allocations: 39.23 MB / 9.021 GB, free: 38.79 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.401/35.66, allocations: 59.4 MB / 9.079 GB, free: 136.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-05/35.66, allocations: 2.844 kB / 9.079 GB, free: 136.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006928/35.66, allocations: 1.071 MB / 9.08 GB, free: 136.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1927/35.86, allocations: 41.82 MB / 9.121 GB, free: 136 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002734/35.86, allocations: 155.3 kB / 9.121 GB, free: 136 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05384/35.91, allocations: 28.79 MB / 9.149 GB, free: 130.2 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/35.91, allocations: 3.344 kB / 9.149 GB, free: 130.2 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1803/36.09, allocations: 50.04 MB / 9.198 GB, free: 128.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01234/36.11, allocations: 3.231 MB / 9.201 GB, free: 128.5 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006586/36.11, allocations: 79.77 kB / 9.201 GB, free: 128.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01586/36.13, allocations: 0.8049 MB / 9.202 GB, free: 128.5 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003075/36.13, allocations: 440.2 kB / 9.202 GB, free: 128.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001305/36.13, allocations: 269.3 kB / 9.203 GB, free: 128.5 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.0237/36.16, allocations: 10.39 MB / 9.213 GB, free: 128 MB / 1.276 GB Notification: Performance of sort global known variables: time 6.11e-07/36.16, allocations: 2.812 kB / 9.213 GB, free: 128 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05716/36.21, allocations: 7.843 MB / 9.22 GB, free: 128 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 (503): * Single equations (assignments): 481 * 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 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01256/36.23, allocations: 5.27 MB / 9.226 GB, free: 126.1 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.07461/36.3, allocations: 36.63 MB / 9.261 GB, free: 122.8 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/36.3, allocations: 10.19 kB / 9.261 GB, free: 122.8 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01772/36.32, allocations: 8.751 MB / 9.27 GB, free: 122.5 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04505/36.36, allocations: 7.597 MB / 9.277 GB, free: 122.4 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06359/36.43, allocations: 26.19 MB / 9.303 GB, free: 116.9 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01626/36.44, allocations: 8.994 MB / 9.312 GB, free: 115.8 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.04256/36.49, allocations: 8.029 MB / 9.319 GB, free: 115.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/36.49, allocations: 0.8255 MB / 9.32 GB, free: 115.6 MB / 1.276 GB Notification: Performance of SimCode: time 1.994e-06/36.49, allocations: 0 / 9.32 GB, free: 115.6 MB / 1.276 GB Notification: Performance of Templates: time 2.464/38.95, allocations: 439.5 MB / 9.749 GB, free: 156.8 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)