Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 178.2 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.369/2.369, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009202/0.00092, allocations: 92.38 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004726, allocations: 9.062 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.09219/0.2921, allocations: 66.84 MB / 0.9643 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04264/0.3348, allocations: 18.88 MB / 0.9827 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.3385, allocations: 83.38 kB / 0.9828 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.3422, allocations: 0.6716 MB / 0.9835 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008195/0.3504, allocations: 1.913 MB / 0.9853 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.3575, allocations: 1.575 MB / 0.9869 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0149/0.3724, allocations: 9.112 MB / 0.9958 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.3842, allocations: 5.415 MB / 1.001 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008033/0.3923, allocations: 2.688 MB / 1.004 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005885/0.3983, allocations: 2.303 MB / 1.006 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.3995, allocations: 128 kB / 1.006 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005049/0.4046, allocations: 1.01 MB / 1.007 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.4064, allocations: 0.6066 MB / 1.008 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.4085, allocations: 0.6484 MB / 1.008 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007023/0.4155, allocations: 3.483 MB / 1.012 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4156, allocations: 0 / 1.012 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4156, allocations: 0 / 1.012 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000167/0.4158, allocations: 0 / 1.012 GB, free: 13.77 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.01335/0.4291, allocations: 3.855 MB / 1.015 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4292, allocations: 8.031 kB / 1.015 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/0.4337, allocations: 0.5738 MB / 1.016 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008163/0.4419, allocations: 2.462 MB / 1.018 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.4421, allocations: 139.8 kB / 1.019 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005757/0.4427, allocations: 184 kB / 1.019 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/0.4502, allocations: 2.401 MB / 1.021 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.4503, allocations: 11.92 kB / 1.021 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/0.4506, allocations: 71.94 kB / 1.021 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/0.4507, allocations: 40 kB / 1.021 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.4624, allocations: 2.025 MB / 1.023 GB, free: 1.715 MB / 0.6667 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.04132/0.5038, allocations: 12.14 MB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008864/0.5127, allocations: 1.553 MB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005036/0.5178, allocations: 1.098 MB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01872/0.5366, allocations: 4.083 MB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004803/0.5414, allocations: 0.8794 MB / 1.042 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004493/0.546, allocations: 458.6 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 1.129e-05/0.5461, allocations: 0 / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.04478/0.5909, allocations: 5.186 MB / 1.048 GB, free: 7.348 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.591, allocations: 68.34 kB / 1.048 GB, free: 7.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007091/0.5981, allocations: 3.003 MB / 1.051 GB, free: 4.266 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003691/0.5985, allocations: 57.7 kB / 1.051 GB, free: 4.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/0.6007, allocations: 1.423 MB / 1.052 GB, free: 2.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006316/0.6014, allocations: 347.1 kB / 1.053 GB, free: 2.426 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.6015, allocations: 28 kB / 1.053 GB, free: 2.398 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6017, allocations: 357.9 kB / 1.053 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/0.6044, allocations: 0.6948 MB / 1.054 GB, free: 1.348 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5848/1.189, allocations: 1.491 MB / 1.055 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.192, allocations: 0.8984 MB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/1.193, allocations: 3.781 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01164/1.204, allocations: 2.948 MB / 1.059 GB, free: 147.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003472/1.205, allocations: 0.5399 MB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.205, allocations: 16.66 kB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/1.21, allocations: 0.7783 MB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/1.213, allocations: 296.5 kB / 1.061 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/1.216, allocations: 2.169 MB / 1.063 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.221, allocations: 249.1 kB / 1.063 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/1.222, allocations: 81.39 kB / 1.063 GB, free: 145.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.222, allocations: 6.125 kB / 1.063 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00862/1.23, allocations: 2.308 MB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/1.231, allocations: 14.41 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/1.234, allocations: 0.5783 MB / 1.066 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/1.236, allocations: 290.8 kB / 1.066 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.25, allocations: 6.488 MB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/1.255, allocations: 237 kB / 1.073 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/1.255, allocations: 72.88 kB / 1.073 GB, free: 142.6 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 (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 prepare postOptimizeDAE: time 0.002444/1.258, allocations: 0.8247 MB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009026/1.259, allocations: 294.9 kB / 1.074 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00928/1.268, allocations: 2.489 MB / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/1.268, allocations: 14.31 kB / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.268, allocations: 0 / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006792/1.275, allocations: 2.188 MB / 1.078 GB, free: 140.7 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.0136/1.289, allocations: 4.717 MB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.289, allocations: 0 / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.29, allocations: 156.9 kB / 1.083 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/1.293, allocations: 0.5409 MB / 1.084 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/1.293, allocations: 37.62 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/1.296, allocations: 2.082 MB / 1.086 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.296, allocations: 1.031 kB / 1.086 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.307, allocations: 3.345 MB / 1.089 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.309, allocations: 0.5556 MB / 1.09 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008657/1.31, allocations: 22.98 kB / 1.09 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/1.314, allocations: 206.6 kB / 1.09 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.314, allocations: 70.36 kB / 1.09 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.314, allocations: 37.64 kB / 1.09 GB, free: 134.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004827/1.319, allocations: 2.048 MB / 1.092 GB, free: 133.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.31e-07/1.319, allocations: 0 / 1.092 GB, free: 133.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006648/1.326, allocations: 1.487 MB / 1.093 GB, free: 133.1 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 (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 Backend phase and start with SimCode phase: time 0.001472/1.327, allocations: 431.5 kB / 1.094 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009681/1.337, allocations: 3.243 MB / 1.097 GB, free: 129.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.337, allocations: 5.375 kB / 1.097 GB, free: 129.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.34, allocations: 0.8265 MB / 1.098 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/1.354, allocations: 1.56 MB / 1.099 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.367, allocations: 5.933 MB / 1.105 GB, free: 121.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.369, allocations: 2.033 MB / 1.107 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004389/1.374, allocations: 0.6783 MB / 1.108 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.375, allocations: 203.3 kB / 1.108 GB, free: 118.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.375, allocations: 0 / 1.108 GB, free: 118.2 MB / 0.698 GB Notification: Performance of Templates: time 0.1332/1.508, allocations: 57.36 MB / 1.164 GB, free: 61.35 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)