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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008813, allocations: 87.3 kB / 15.06 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009014/0.0009015, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006078/0.000608, allocations: 13.91 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2136, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.06429/0.2779, allocations: 74.48 MB / 0.86 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02861/0.3066, allocations: 21 MB / 0.8805 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.3105, allocations: 95.31 kB / 0.8806 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.3134, allocations: 0.7764 MB / 0.8814 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.32, allocations: 2.261 MB / 0.8836 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005083/0.325, allocations: 1.799 MB / 0.8853 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.4206/0.7457, allocations: 30.13 MB / 0.9147 GB, free: 19.85 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.764, allocations: 13.44 MB / 0.9279 GB, free: 18.05 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01987/0.7839, allocations: 9.174 MB / 0.9368 GB, free: 18.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02032/0.8043, allocations: 10.74 MB / 0.9473 GB, free: 18.01 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004076/0.8084, allocations: 0.8134 MB / 0.9481 GB, free: 18.01 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008686/0.8171, allocations: 1.784 MB / 0.9499 GB, free: 17.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004083/0.8212, allocations: 2.956 MB / 0.9527 GB, free: 17.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005011/0.8262, allocations: 1.83 MB / 0.9545 GB, free: 17.95 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.8402, allocations: 13.9 MB / 0.9681 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8402, allocations: 3.344 kB / 0.9681 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8402, allocations: 0 / 0.9681 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004899/0.8407, allocations: 0 / 0.9681 GB, free: 13.32 MB / 0.7169 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.03067/0.8714, allocations: 13.07 MB / 0.9809 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.8715, allocations: 7.625 kB / 0.9809 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007542/0.879, allocations: 1.274 MB / 0.9821 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/0.8967, allocations: 9.615 MB / 0.9915 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.897, allocations: 438.8 kB / 0.9919 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/0.8994, allocations: 0.5867 MB / 0.9925 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/0.9263, allocations: 14.68 MB / 1.007 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.9266, allocations: 27.02 kB / 1.007 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003907/0.9305, allocations: 237.4 kB / 1.007 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.9307, allocations: 140 kB / 1.007 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/0.9647, allocations: 19.88 MB / 1.027 GB, free: 9.699 MB / 0.7481 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.1181/1.083, allocations: 66.62 MB / 1.092 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/1.098, allocations: 9.318 MB / 1.101 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01185/1.11, allocations: 8.684 MB / 1.109 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05347/1.163, allocations: 30.97 MB / 1.14 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01171/1.175, allocations: 7.745 MB / 1.147 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02749/1.202, allocations: 11.76 MB / 1.159 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=300): time 2.481e-05/1.202, allocations: 8 kB / 1.159 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=300): time 0.05602/1.258, allocations: 24.43 MB / 1.182 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/1.259, allocations: 85.77 kB / 1.183 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/1.275, allocations: 8.104 MB / 1.19 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.002182/1.278, allocations: 97.7 kB / 1.191 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.004635/1.282, allocations: 4.028 MB / 1.194 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003165/1.285, allocations: 1.077 MB / 1.196 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/1.287, allocations: 92 kB / 1.196 GB, free: 12.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003837/1.288, allocations: 495.8 kB / 1.196 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/1.298, allocations: 6.547 MB / 1.202 GB, free: 5.449 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/1.311, allocations: 8.4 MB / 1.211 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.323, allocations: 7.437 MB / 1.218 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-05/1.323, allocations: 16 kB / 1.218 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03619/1.359, allocations: 17.81 MB / 1.235 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/1.36, allocations: 1.564 MB / 1.237 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.19e-05/1.36, allocations: 44 kB / 1.237 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05903/1.419, allocations: 11.51 MB / 1.248 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008021/1.427, allocations: 1.565 MB / 1.25 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/1.436, allocations: 6.812 MB / 1.256 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/1.447, allocations: 0.5931 MB / 1.257 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002707/1.45, allocations: 0.5421 MB / 1.257 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.45, allocations: 6.406 kB / 1.257 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03183/1.482, allocations: 16.74 MB / 1.274 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/1.482, allocations: 44 kB / 1.274 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4556/1.938, allocations: 11.02 MB / 1.285 GB, free: 362.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008159/1.946, allocations: 1.555 MB / 1.286 GB, free: 362.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.959, allocations: 11.02 MB / 1.297 GB, free: 358.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009795/1.968, allocations: 0.5695 MB / 1.297 GB, free: 358.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/1.971, allocations: 0.5345 MB / 1.298 GB, free: 358.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (527): * Single equations (assignments): 521 * 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,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.006404/1.977, allocations: 2.632 MB / 1.301 GB, free: 358 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/1.979, allocations: 0.7526 MB / 1.301 GB, free: 358 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02554/2.005, allocations: 14.35 MB / 1.315 GB, free: 353.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/2.005, allocations: 36.47 kB / 1.315 GB, free: 353.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.005, allocations: 3.938 kB / 1.315 GB, free: 353.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01409/2.019, allocations: 10.93 MB / 1.326 GB, free: 348.4 MB / 0.9981 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.02978/2.049, allocations: 24.89 MB / 1.35 GB, free: 336.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/2.049, allocations: 5.922 kB / 1.35 GB, free: 336.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00398/2.053, allocations: 0.7006 MB / 1.351 GB, free: 336.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0518/2.105, allocations: 10.35 MB / 1.361 GB, free: 333.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001599/2.106, allocations: 103.9 kB / 1.361 GB, free: 333.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/2.111, allocations: 4.924 MB / 1.366 GB, free: 328.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.111, allocations: 0 / 1.366 GB, free: 328.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02583/2.137, allocations: 19.56 MB / 1.385 GB, free: 309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005583/2.142, allocations: 2.006 MB / 1.387 GB, free: 307 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002068/2.144, allocations: 75.94 kB / 1.387 GB, free: 306.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00584/2.15, allocations: 443.6 kB / 1.388 GB, free: 306.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/2.151, allocations: 218.4 kB / 1.388 GB, free: 306.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004703/2.151, allocations: 159.9 kB / 1.388 GB, free: 306.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007779/2.159, allocations: 5.57 MB / 1.393 GB, free: 300.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/2.159, allocations: 0 / 1.393 GB, free: 300.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01615/2.175, allocations: 4.976 MB / 1.398 GB, free: 295.8 MB / 0.9981 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * 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,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/2.177, allocations: 0.5609 MB / 1.399 GB, free: 295.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03085/2.208, allocations: 24.2 MB / 1.422 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/2.208, allocations: 9.75 kB / 1.422 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008277/2.216, allocations: 6.462 MB / 1.429 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02323/2.239, allocations: 5.043 MB / 1.434 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/2.271, allocations: 23.13 MB / 1.456 GB, free: 236.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/2.275, allocations: 5.21 MB / 1.461 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01953/2.295, allocations: 4.969 MB / 1.466 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006001/2.301, allocations: 0.9125 MB / 1.467 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.382e-06/2.301, allocations: 0 / 1.467 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.7121/3.013, allocations: 219.4 MB / 1.681 GB, free: 354.5 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: