Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 184.6 kB / 327.6 MB, free: 2.102 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.614/1.614, allocations: 205.4 MB / 0.5786 GB, free: 20.21 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.0007555/0.0007555, allocations: 87.59 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12.42 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2024, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.04751/0.2499, allocations: 70.78 MB / 0.9706 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02814/0.2781, allocations: 20.29 MB / 0.9904 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.2811, allocations: 87.31 kB / 0.9905 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.2837, allocations: 0.8589 MB / 0.9913 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005893/0.2896, allocations: 2.161 MB / 0.9934 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.2942, allocations: 1.892 MB / 0.9953 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.3048, allocations: 10.56 MB / 1.006 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007047/0.3119, allocations: 5.576 MB / 1.011 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.3175, allocations: 2.804 MB / 1.014 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.3213, allocations: 2.442 MB / 1.016 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004045/0.3218, allocations: 128 kB / 1.016 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.3247, allocations: 1.232 MB / 1.017 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.3253, allocations: 0.6337 MB / 1.018 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.3272, allocations: 1.637 MB / 1.02 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.3308, allocations: 3.511 MB / 1.023 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3308, allocations: 3.938 kB / 1.023 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3308, allocations: 0 / 1.023 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.164e-05/0.3309, allocations: 0 / 1.023 GB, free: 2.488 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006766/0.3376, allocations: 3.825 MB / 1.027 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3377, allocations: 8.031 kB / 1.027 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.3397, allocations: 0.5738 MB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/0.3438, allocations: 2.573 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3439, allocations: 135.8 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.3442, allocations: 195.9 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.3479, allocations: 2.416 MB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.348, allocations: 7.938 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.3482, allocations: 71.94 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.3482, allocations: 44 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.3518, allocations: 2.033 MB / 1.035 GB, free: 6.324 MB / 0.6823 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.01429/0.3661, allocations: 12.14 MB / 1.047 GB, free: 9.566 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.3692, allocations: 1.557 MB / 1.048 GB, free: 8.004 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.371, allocations: 1.087 MB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007038/0.378, allocations: 4.087 MB / 1.053 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.3796, allocations: 0.8871 MB / 1.054 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001638/0.3812, allocations: 450.6 kB / 1.054 GB, free: 1.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 2.985e-06/0.3813, allocations: 0 / 1.054 GB, free: 1.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.3837/0.7649, allocations: 5.277 MB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.765, allocations: 65.84 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.7693, allocations: 3.03 MB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.7695, allocations: 54.7 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.7707, allocations: 1.424 MB / 1.064 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.771, allocations: 346.9 kB / 1.064 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.7711, allocations: 28.88 kB / 1.064 GB, free: 146.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7712, allocations: 362.3 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.7728, allocations: 0.757 MB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.775, allocations: 1.565 MB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/0.7786, allocations: 2.07 MB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.7786, allocations: 3.781 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007853/0.7865, allocations: 3.158 MB / 1.072 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.7868, allocations: 0.5323 MB / 1.073 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.7868, allocations: 18.38 kB / 1.073 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/0.7899, allocations: 0.8454 MB / 1.073 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.7912, allocations: 297.6 kB / 1.074 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.7935, allocations: 2.178 MB / 1.076 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.7965, allocations: 251.6 kB / 1.076 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.7968, allocations: 77.05 kB / 1.076 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7968, allocations: 5.406 kB / 1.076 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004987/0.8018, allocations: 2.316 MB / 1.078 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/0.8018, allocations: 13.84 kB / 1.079 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.8035, allocations: 0.5883 MB / 1.079 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.8047, allocations: 291.6 kB / 1.079 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/0.8117, allocations: 6.503 MB / 1.086 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.8145, allocations: 233.6 kB / 1.086 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.8148, allocations: 76.25 kB / 1.086 GB, free: 136.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001963/0.8167, allocations: 0.831 MB / 1.087 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008271/0.8176, allocations: 293.4 kB / 1.087 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.8226, allocations: 2.499 MB / 1.09 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.8226, allocations: 12.64 kB / 1.09 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8226, allocations: 0 / 1.09 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003573/0.8262, allocations: 2.184 MB / 1.092 GB, free: 133 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.008392/0.8346, allocations: 4.731 MB / 1.096 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.8346, allocations: 0 / 1.096 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.8354, allocations: 158.1 kB / 1.096 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.8365, allocations: 0.5438 MB / 1.097 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.354e-05/0.8366, allocations: 27.97 kB / 1.097 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.8381, allocations: 2.099 MB / 1.099 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8381, allocations: 3.938 kB / 1.099 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/0.8432, allocations: 3.36 MB / 1.102 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.8445, allocations: 0.5441 MB / 1.103 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006306/0.8452, allocations: 27.98 kB / 1.103 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.8471, allocations: 203.5 kB / 1.103 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.8472, allocations: 68.91 kB / 1.103 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.8473, allocations: 39.97 kB / 1.103 GB, free: 123 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002385/0.8497, allocations: 2.079 MB / 1.105 GB, free: 120.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8497, allocations: 0 / 1.105 GB, free: 120.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003498/0.8532, allocations: 1.473 MB / 1.107 GB, free: 119.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009216/0.8542, allocations: 461.5 kB / 1.107 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005226/0.8594, allocations: 3.331 MB / 1.11 GB, free: 115.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8594, allocations: 0 / 1.11 GB, free: 115.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.8608, allocations: 0.8288 MB / 1.111 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007334/0.8681, allocations: 1.538 MB / 1.113 GB, free: 113.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.8753, allocations: 6.216 MB / 1.119 GB, free: 107.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.8764, allocations: 2.027 MB / 1.121 GB, free: 105.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006832/0.8771, allocations: 211.4 kB / 1.121 GB, free: 104.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.8771, allocations: 4 kB / 1.121 GB, free: 104.9 MB / 0.698 GB Notification: Performance of Templates: time 0.07663/0.9538, allocations: 75.91 MB / 1.195 GB, free: 29.24 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)