Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001203/0.001203, allocations: 182.4 kB / 371.6 MB, free: 3.418 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.535/1.535, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009326/0.0009329, allocations: 90.34 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.125e-05/5.128e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2851, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/2.042, allocations: 422.6 MB / 1.392 GB, free: 284 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/2.043, allocations: 93.88 kB / 1.393 GB, free: 284 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.066/11.11, allocations: 2.273 GB / 3.665 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.124e-06/11.11, allocations: 2.297 kB / 3.665 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0017/11.11, allocations: 253 kB / 3.665 GB, free: 112.3 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.031/11.14, allocations: 7.306 MB / 3.673 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/11.14, allocations: 15.53 kB / 3.673 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009379/11.15, allocations: 1.224 MB / 3.674 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03384/11.18, allocations: 12.54 MB / 3.686 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007105/11.19, allocations: 435.5 kB / 3.686 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003485/11.19, allocations: 0.5856 MB / 3.687 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03874/11.23, allocations: 13.46 MB / 3.7 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000241/11.23, allocations: 25.23 kB / 3.7 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001806/11.23, allocations: 243 kB / 3.7 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/11.23, allocations: 137.7 kB / 3.701 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03486/11.26, allocations: 18.08 MB / 3.718 GB, free: 107.2 MB / 0.9792 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.1046/11.37, allocations: 55.37 MB / 3.772 GB, free: 88.54 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/11.38, allocations: 8.696 MB / 3.781 GB, free: 88.43 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01285/11.4, allocations: 9.264 MB / 3.79 GB, free: 88.18 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.058/11.45, allocations: 26.29 MB / 3.815 GB, free: 81.02 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01274/11.47, allocations: 7.309 MB / 3.823 GB, free: 80.31 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05071/11.52, allocations: 21.18 MB / 3.843 GB, free: 77.75 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.898e-05/11.52, allocations: 3.562 kB / 3.843 GB, free: 77.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.03423/11.55, allocations: 14.49 MB / 3.857 GB, free: 72.38 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/11.55, allocations: 86.16 kB / 3.858 GB, free: 72.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01833/11.57, allocations: 7.395 MB / 3.865 GB, free: 69.95 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002755/11.57, allocations: 95.98 kB / 3.865 GB, free: 69.87 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005625/11.58, allocations: 4.016 MB / 3.869 GB, free: 66.78 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003743/11.58, allocations: 1.089 MB / 3.87 GB, free: 65.95 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002338/11.58, allocations: 87.38 kB / 3.87 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000501/11.58, allocations: 493 kB / 3.87 GB, free: 65.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009849/11.59, allocations: 6.076 MB / 3.876 GB, free: 63.07 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/11.61, allocations: 7.891 MB / 3.884 GB, free: 57.42 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/11.62, allocations: 7 MB / 3.891 GB, free: 51.65 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.301e-05/11.62, allocations: 15.95 kB / 3.891 GB, free: 51.63 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03745/11.66, allocations: 16.35 MB / 3.907 GB, free: 38.39 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.006079/11.66, allocations: 25.25 MB / 3.932 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/11.66, allocations: 48 kB / 3.932 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06328/11.73, allocations: 10.89 MB / 3.942 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008982/11.74, allocations: 1.605 MB / 3.944 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/11.74, allocations: 6.306 MB / 3.95 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/11.76, allocations: 0.6023 MB / 3.951 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003284/11.76, allocations: 0.5434 MB / 3.951 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/11.76, allocations: 4.781 kB / 3.951 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03589/11.8, allocations: 15.7 MB / 3.966 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/11.8, allocations: 51.28 kB / 3.966 GB, free: 15.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0643/11.86, allocations: 10.61 MB / 3.977 GB, free: 4.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009845/11.87, allocations: 1.609 MB / 3.978 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8471/12.72, allocations: 10.17 MB / 3.988 GB, free: 143.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/12.73, allocations: 0.57 MB / 3.989 GB, free: 143.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003439/12.74, allocations: 0.5322 MB / 3.989 GB, free: 143.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.002951/12.74, allocations: 407.8 kB / 3.99 GB, free: 143.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003789/12.74, allocations: 0.7546 MB / 3.99 GB, free: 143.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03424/12.78, allocations: 13.47 MB / 4.004 GB, free: 143.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-05/12.78, allocations: 34.66 kB / 4.004 GB, free: 143.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/12.78, allocations: 3.703 kB / 4.004 GB, free: 143.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01491/12.79, allocations: 10.05 MB / 4.013 GB, free: 142.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04099/12.83, allocations: 23.73 MB / 4.037 GB, free: 139.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/12.83, allocations: 0 / 4.037 GB, free: 139.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004844/12.84, allocations: 0.698 MB / 4.037 GB, free: 139.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06211/12.9, allocations: 9.928 MB / 4.047 GB, free: 139.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001585/12.9, allocations: 104.9 kB / 4.047 GB, free: 139.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/12.91, allocations: 4.316 MB / 4.051 GB, free: 136.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/12.91, allocations: 0.5625 kB / 4.051 GB, free: 136.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03019/12.94, allocations: 18.22 MB / 4.069 GB, free: 136.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01174/12.95, allocations: 1.989 MB / 4.071 GB, free: 135.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00606/12.95, allocations: 73.84 kB / 4.071 GB, free: 135.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0109/12.96, allocations: 422.9 kB / 4.072 GB, free: 135.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001921/12.97, allocations: 223.1 kB / 4.072 GB, free: 135.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001774/12.97, allocations: 158.9 kB / 4.072 GB, free: 135.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01662/12.99, allocations: 5.728 MB / 4.078 GB, free: 135.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.11e-07/12.99, allocations: 1 kB / 4.078 GB, free: 135.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03369/13.02, allocations: 4.928 MB / 4.082 GB, free: 135.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006404/13.03, allocations: 1.279 MB / 4.084 GB, free: 135 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.04679/13.07, allocations: 23.5 MB / 4.107 GB, free: 134.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/13.07, allocations: 3.344 kB / 4.107 GB, free: 134.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01082/13.08, allocations: 6.088 MB / 4.112 GB, free: 134.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02833/13.11, allocations: 4.603 MB / 4.117 GB, free: 134 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04244/13.15, allocations: 17.14 MB / 4.134 GB, free: 131 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/13.16, allocations: 5.377 MB / 4.139 GB, free: 130 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03735/13.2, allocations: 7.885 MB / 4.147 GB, free: 128.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007206/13.21, allocations: 0.7664 MB / 4.147 GB, free: 128.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.693e-06/13.21, allocations: 0 / 4.147 GB, free: 128.8 MB / 1.01 GB Notification: Performance of Templates: time 1.131/14.34, allocations: 227.4 MB / 4.37 GB, free: 163.6 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)