Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.0007335/0.0007335, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001201/0.001201, allocations: 169 kB / 23.02 MB, free: 1.539 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 1.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.001749/0.001749, allocations: 229.4 kB / 260.2 MB, free: 12.8 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.677/0.677, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.75e-05/4.008e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001441/0.001481, allocations: 0.5323 MB / 0.5556 GB, free: 40 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.001628, allocations: 15.92 kB / 0.5556 GB, free: 24 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.00166, allocations: 4 kB / 0.5556 GB, free: 20 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.001681, allocations: 0 / 0.5556 GB, free: 20 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.001842, allocations: 11.86 kB / 0.5556 GB, free: 8 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.001846, allocations: 0 / 0.5556 GB, free: 8 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.001895, allocations: 4 kB / 0.5556 GB, free: 4 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.001933, allocations: 0 / 0.5556 GB, free: 4 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.002006, allocations: 12.08 kB / 0.5557 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.002041, allocations: 0 / 0.5557 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.002056, allocations: 0 / 0.5557 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-06/0.002062, allocations: 0 / 0.5557 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.002073, allocations: 3.938 kB / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.002087, allocations: 0 / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.988e-05/0.002137, allocations: 11.92 kB / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.002139, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00214, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.002145, allocations: 0 / 0.5557 GB, free: 15.97 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002438/0.002389, allocations: 340.7 kB / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.002428, allocations: 12.75 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.002461, allocations: 4.938 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.664e-05/0.002528, allocations: 108.6 kB / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.002538, allocations: 384 / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.002546, allocations: 4.375 kB / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.002647, allocations: 53.48 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.002654, allocations: 192 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.002662, allocations: 384 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.00267, allocations: 384 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.002686, allocations: 7.938 kB / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.002787, allocations: 124.3 kB / 0.5563 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.002837, allocations: 54.12 kB / 0.5563 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.002859, allocations: 19.5 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.002883, allocations: 0 / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.002904, allocations: 41.39 kB / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.845e-06/0.002912, allocations: 3.984 kB / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001236/0.003036, allocations: 45.56 kB / 0.5565 GB, free: 15.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.00307, allocations: 81.05 kB / 0.5565 GB, free: 14.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.003134, allocations: 166.1 kB / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.003144, allocations: 25.7 kB / 0.5567 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.003172, allocations: 126.9 kB / 0.5568 GB, free: 14.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.003195, allocations: 3.953 kB / 0.5568 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.003221, allocations: 23.36 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.003321, allocations: 492.1 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.003332, allocations: 4 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.003351, allocations: 19.38 kB / 0.5574 GB, free: 14.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.003381, allocations: 19.38 kB / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.003382, allocations: 4.188 kB / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.087e-05/0.003433, allocations: 49.62 kB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.003446, allocations: 4 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.003451, allocations: 0 / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.003464, allocations: 0 / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.003522, allocations: 4 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.003528, allocations: 0 / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.003541, allocations: 7.938 kB / 0.5574 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.003547, allocations: 0 / 0.5574 GB, free: 13.91 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 6.457e-05/0.003612, allocations: 168.5 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.003619, allocations: 4 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.00371, allocations: 44.69 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.003713, allocations: 0 / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.003716, allocations: 0 / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.00372, allocations: 3.938 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.534e-05/0.003775, allocations: 112.6 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.003776, allocations: 3.938 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.003788, allocations: 4 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.00379, allocations: 4.062 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.003797, allocations: 0 / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0038, allocations: 11.98 kB / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.003801, allocations: 0 / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.743e-05/0.003869, allocations: 84.03 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.003896, allocations: 4 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-06/0.003905, allocations: 3.984 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.003911, allocations: 3.938 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.003927, allocations: 7.938 kB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.003929, allocations: 0 / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.003963, allocations: 127.2 kB / 0.558 GB, free: 13.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003963, allocations: 0 / 0.558 GB, free: 13.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001191/0.004082, allocations: 4 kB / 0.558 GB, free: 13.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 7.876e-05/0.004161, allocations: 91.25 kB / 0.5581 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.535e-05/0.004247, allocations: 23.67 kB / 0.5581 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.004249, allocations: 0 / 0.5581 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.004258, allocations: 15.62 kB / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.004365, allocations: 352 / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.004589, allocations: 110.1 kB / 0.5582 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.004623, allocations: 55.36 kB / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.004641, allocations: 0 / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.004664, allocations: 8.5 kB / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.004664, allocations: 0 / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of Templates: time 0.00177/0.006434, allocations: 215.3 kB / 0.5585 GB, free: 12.68 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.560473179910332]