Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8497/0.8497, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 172.7 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008409, allocations: 93.16 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001752/0.001752, allocations: 278.8 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005088, allocations: 23.98 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4575, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/1.259, allocations: 390.7 MB / 1.121 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.259, allocations: 98.64 kB / 1.121 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.965/6.225, allocations: 1.302 GB / 2.424 GB, free: 37.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/6.225, allocations: 0 / 2.424 GB, free: 37.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007559/6.226, allocations: 99.89 kB / 2.424 GB, free: 37.39 MB / 0.698 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.01687/6.242, allocations: 4.005 MB / 2.428 GB, free: 33.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/6.243, allocations: 8.031 kB / 2.428 GB, free: 33.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/6.246, allocations: 0.5354 MB / 2.428 GB, free: 32.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/6.259, allocations: 4.414 MB / 2.432 GB, free: 28.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/6.259, allocations: 143.5 kB / 2.433 GB, free: 28.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000752/6.26, allocations: 184.4 kB / 2.433 GB, free: 27.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004957/6.265, allocations: 2.245 MB / 2.435 GB, free: 25.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.921e-05/6.265, allocations: 11.86 kB / 2.435 GB, free: 25.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/6.266, allocations: 72 kB / 2.435 GB, free: 25.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/6.266, allocations: 40 kB / 2.435 GB, free: 25.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/6.269, allocations: 1.775 MB / 2.437 GB, free: 23.68 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 preOpt removeSimpleEquations (simulation): time 0.01589/6.285, allocations: 11.53 MB / 2.448 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/6.287, allocations: 1.258 MB / 2.449 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/6.289, allocations: 0.969 MB / 2.45 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00734/6.296, allocations: 3.558 MB / 2.454 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/6.297, allocations: 0.7271 MB / 2.454 GB, free: 4.68 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002623/6.3, allocations: 0.6272 MB / 2.455 GB, free: 4.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 6.783e-06/6.3, allocations: 0 / 2.455 GB, free: 4.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.5131/6.813, allocations: 4.035 MB / 2.459 GB, free: 87.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/6.813, allocations: 64.12 kB / 2.459 GB, free: 87.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/6.819, allocations: 2.811 MB / 2.462 GB, free: 87.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004114/6.82, allocations: 56.2 kB / 2.462 GB, free: 87.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/6.821, allocations: 1.425 MB / 2.463 GB, free: 86.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/6.822, allocations: 342.6 kB / 2.464 GB, free: 86.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/6.822, allocations: 28.56 kB / 2.464 GB, free: 86.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/6.822, allocations: 363.5 kB / 2.464 GB, free: 86.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/6.823, allocations: 0.561 MB / 2.464 GB, free: 86.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/6.825, allocations: 1.339 MB / 2.466 GB, free: 85.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/6.827, allocations: 1.667 MB / 2.467 GB, free: 85.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/6.827, allocations: 3.375 kB / 2.467 GB, free: 85.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005759/6.833, allocations: 2.569 MB / 2.47 GB, free: 84.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000519/6.833, allocations: 0.5228 MB / 2.47 GB, free: 84.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.929e-05/6.833, allocations: 13.53 kB / 2.47 GB, free: 84.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/6.836, allocations: 0.6685 MB / 2.471 GB, free: 84.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/6.837, allocations: 262 kB / 2.471 GB, free: 84.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/6.839, allocations: 1.901 MB / 2.473 GB, free: 83.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/6.842, allocations: 185.8 kB / 2.473 GB, free: 83.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/6.842, allocations: 78.83 kB / 2.473 GB, free: 83.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/6.842, allocations: 2.844 kB / 2.473 GB, free: 83.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00332/6.845, allocations: 2.203 MB / 2.476 GB, free: 83.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/6.845, allocations: 18.27 kB / 2.476 GB, free: 83.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008165/6.846, allocations: 469.1 kB / 2.476 GB, free: 83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/6.847, allocations: 261.4 kB / 2.476 GB, free: 83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005715/6.853, allocations: 5.855 MB / 2.482 GB, free: 80.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/6.856, allocations: 174.1 kB / 2.482 GB, free: 80.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/6.856, allocations: 66.3 kB / 2.482 GB, free: 80.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of prepare postOptimizeDAE: time 0.001934/6.858, allocations: 0.8298 MB / 2.483 GB, free: 79.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/6.858, allocations: 289.5 kB / 2.483 GB, free: 79.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/6.862, allocations: 2.203 MB / 2.485 GB, free: 79.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/6.862, allocations: 14.73 kB / 2.485 GB, free: 79.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/6.862, allocations: 0 / 2.485 GB, free: 79.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002663/6.865, allocations: 1.909 MB / 2.487 GB, free: 79.27 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.008038/6.873, allocations: 4.135 MB / 2.491 GB, free: 78.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/6.873, allocations: 0 / 2.491 GB, free: 78.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/6.874, allocations: 136.8 kB / 2.492 GB, free: 78.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009199/6.875, allocations: 474 kB / 2.492 GB, free: 78.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/6.875, allocations: 26.16 kB / 2.492 GB, free: 78.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/6.876, allocations: 1.852 MB / 2.494 GB, free: 77.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.876, allocations: 3.188 kB / 2.494 GB, free: 77.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/6.881, allocations: 2.882 MB / 2.497 GB, free: 77.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/6.882, allocations: 494.1 kB / 2.497 GB, free: 77.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/6.883, allocations: 27.81 kB / 2.497 GB, free: 77.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/6.884, allocations: 148.2 kB / 2.497 GB, free: 77.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/6.884, allocations: 62.09 kB / 2.497 GB, free: 77.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/6.884, allocations: 41.7 kB / 2.497 GB, free: 77.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002558/6.887, allocations: 1.911 MB / 2.499 GB, free: 76.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.887, allocations: 0 / 2.499 GB, free: 76.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004076/6.891, allocations: 1.441 MB / 2.501 GB, free: 76.82 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 (59): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/6.893, allocations: 1.071 MB / 2.502 GB, free: 76.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00468/6.897, allocations: 2.887 MB / 2.505 GB, free: 76.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/6.897, allocations: 0 / 2.505 GB, free: 76.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/6.898, allocations: 0.7086 MB / 2.505 GB, free: 76.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/6.904, allocations: 1.184 MB / 2.506 GB, free: 76.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008585/6.913, allocations: 5.734 MB / 2.512 GB, free: 73.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/6.914, allocations: 2.035 MB / 2.514 GB, free: 73.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00323/6.918, allocations: 0.7302 MB / 2.515 GB, free: 73.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/6.918, allocations: 189.5 kB / 2.515 GB, free: 73 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/6.918, allocations: 0 / 2.515 GB, free: 73 MB / 0.698 GB Notification: Performance of Templates: time 0.09665/7.015, allocations: 56.08 MB / 2.57 GB, free: 70.25 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe 2>&1)