Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9727/0.9727, allocations: 177.2 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001614/0.001614, allocations: 241.7 kB / 260.5 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7142/0.7142, allocations: 138.4 MB / 455.5 MB, free: 1.402 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.5556 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.326e-05, allocations: 5.406 kB / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0009248/0.000938, allocations: 0.544 MB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.001076, allocations: 39.77 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.001123, allocations: 0 / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.001151, allocations: 0 / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.001277, allocations: 7.922 kB / 0.5562 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.005e-05/0.001317, allocations: 11.94 kB / 0.5562 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.001362, allocations: 7.984 kB / 0.5562 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.95e-05/0.001391, allocations: 4 kB / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.001441, allocations: 3.938 kB / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.001523, allocations: 19.98 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.00154, allocations: 0 / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.001547, allocations: 0 / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.00159, allocations: 7.984 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.001612, allocations: 3.984 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.515e-05/0.001677, allocations: 11.94 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.001679, allocations: 0 / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001679, allocations: 0 / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.001683, allocations: 0 / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005959/0.002279, allocations: 352.7 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.002317, allocations: 12.75 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.002341, allocations: 8.891 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.002443, allocations: 120.5 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.00245, allocations: 384 / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.002464, allocations: 4.375 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.853e-05/0.002522, allocations: 34.19 kB / 0.5567 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.002528, allocations: 192 / 0.5567 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.002533, allocations: 384 / 0.5567 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.002538, allocations: 4.375 kB / 0.5567 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-06/0.002547, allocations: 7.938 kB / 0.5567 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.419e-05/0.002632, allocations: 101.3 kB / 0.5568 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.852e-05/0.00266, allocations: 23.06 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-06/0.00267, allocations: 7.688 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.002681, allocations: 0 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.002698, allocations: 41.39 kB / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.002699, allocations: 0 / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.336e-05/0.002792, allocations: 37.64 kB / 0.5569 GB, free: 14.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.002813, allocations: 51.41 kB / 0.557 GB, free: 14.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.002876, allocations: 169.9 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.002884, allocations: 29.7 kB / 0.5572 GB, free: 14.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.002918, allocations: 131 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.002933, allocations: 0 / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.002957, allocations: 23.38 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.003061, allocations: 0.4922 MB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.003067, allocations: 4 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.003083, allocations: 23.25 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.003106, allocations: 19.38 kB / 0.5579 GB, free: 13.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.003107, allocations: 0 / 0.5579 GB, free: 13.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.19e-05/0.003149, allocations: 53.64 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.003159, allocations: 4 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.003163, allocations: 0 / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.003171, allocations: 0 / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.003215, allocations: 4 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.003218, allocations: 3.984 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.00323, allocations: 4 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.003235, allocations: 7.938 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.003284, allocations: 152.6 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-06/0.003289, allocations: 4 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.003345, allocations: 49.16 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.003346, allocations: 0 / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.003349, allocations: 7.984 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.003351, allocations: 0 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.684e-05/0.003408, allocations: 101.2 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.003409, allocations: 0 / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.003433, allocations: 3.984 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.003434, allocations: 4 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.003441, allocations: 0 / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003441, allocations: 0 / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.003442, allocations: 256 / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.003511, allocations: 88.36 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.003526, allocations: 7.984 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.003534, allocations: 4 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-06/0.003542, allocations: 3.938 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-06/0.00355, allocations: 0 / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-07/0.003551, allocations: 0 / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.003584, allocations: 131.2 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003584, allocations: 0 / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001104/0.003695, allocations: 0 / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.547e-05/0.00375, allocations: 99.31 kB / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.369e-05/0.003794, allocations: 15.69 kB / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.003795, allocations: 0 / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.003806, allocations: 19.56 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.925e-05/0.003895, allocations: 7.922 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.004055, allocations: 118.3 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.506e-05/0.00408, allocations: 55.36 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.273e-05/0.004092, allocations: 4 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.004122, allocations: 74.38 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004123, allocations: 0 / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of Templates: time 0.001494/0.005616, allocations: 352.4 kB / 0.5592 GB, free: 12.25 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3447016552090645]