Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0009238/0.0009238, allocations: 92.22 kB / 19.65 MB, free: 280 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.001395/0.001395, allocations: 169 kB / 23.03 MB, free: 1.547 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.9329/0.9329, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.002443/0.002443, allocations: 233.7 kB / 260.2 MB, free: 12.81 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.6818/0.6818, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.731e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004309/0.004326, allocations: 4.697 MB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.005127, allocations: 0.8264 MB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.005178, allocations: 0 / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.005328, allocations: 27.8 kB / 0.5605 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.005372, allocations: 39.69 kB / 0.5606 GB, free: 10.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.005814, allocations: 183.1 kB / 0.5608 GB, free: 10.72 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.005959, allocations: 183.3 kB / 0.5609 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.845e-05/0.006027, allocations: 17.28 kB / 0.561 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.006177, allocations: 107.8 kB / 0.5611 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.006243, allocations: 63.86 kB / 0.5611 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.006264, allocations: 12 kB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.006476, allocations: 143.7 kB / 0.5613 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.006501, allocations: 35.89 kB / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.00654, allocations: 39.92 kB / 0.5613 GB, free: 10.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.006793, allocations: 215.3 kB / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.006796, allocations: 0 / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006796, allocations: 0 / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006801, allocations: 3.938 kB / 0.5615 GB, free: 9.914 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000513/0.007314, allocations: 0.4916 MB / 0.562 GB, free: 9.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.007346, allocations: 12.75 kB / 0.562 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.00739, allocations: 16.83 kB / 0.5621 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.865e-05/0.007468, allocations: 132.5 kB / 0.5622 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.007478, allocations: 4.375 kB / 0.5622 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.007494, allocations: 12.38 kB / 0.5622 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.007649, allocations: 105.5 kB / 0.5623 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.007656, allocations: 8.125 kB / 0.5623 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.007671, allocations: 4.125 kB / 0.5623 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.007677, allocations: 4 kB / 0.5623 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.007771, allocations: 51.95 kB / 0.5624 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.008313, allocations: 423.5 kB / 0.5628 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.008429, allocations: 87.02 kB / 0.5628 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.008475, allocations: 35.61 kB / 0.5629 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.009067, allocations: 0.5431 MB / 0.5634 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.009085, allocations: 37.39 kB / 0.5634 GB, free: 7.816 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.009086, allocations: 0 / 0.5634 GB, free: 7.816 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002077/0.009294, allocations: 117.5 kB / 0.5636 GB, free: 7.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.00932, allocations: 55.34 kB / 0.5636 GB, free: 7.629 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.009432, allocations: 230.5 kB / 0.5638 GB, free: 7.387 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.009446, allocations: 29.7 kB / 0.5639 GB, free: 7.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.009506, allocations: 151.3 kB / 0.564 GB, free: 7.199 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.009528, allocations: 47.58 kB / 0.5641 GB, free: 7.152 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.009584, allocations: 55.34 kB / 0.5641 GB, free: 7.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.009691, allocations: 0.5 MB / 0.5646 GB, free: 6.578 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.009744, allocations: 27.92 kB / 0.5646 GB, free: 6.551 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.009823, allocations: 78 kB / 0.5647 GB, free: 6.461 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.009944, allocations: 113 kB / 0.5648 GB, free: 6.336 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009946, allocations: 0 / 0.5648 GB, free: 6.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001973/0.01014, allocations: 163.2 kB / 0.565 GB, free: 6.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01016, allocations: 8 kB / 0.565 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.01016, allocations: 0 / 0.565 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.01017, allocations: 0 / 0.565 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.0103, allocations: 51.91 kB / 0.565 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.0103, allocations: 3.938 kB / 0.565 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.01036, allocations: 35.77 kB / 0.5651 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01038, allocations: 12.08 kB / 0.5651 GB, free: 6.062 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.5e-05/0.01044, allocations: 168.5 kB / 0.5652 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.01046, allocations: 15.91 kB / 0.5652 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.01061, allocations: 115.4 kB / 0.5653 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01061, allocations: 4 kB / 0.5654 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01061, allocations: 0 / 0.5654 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01062, allocations: 0 / 0.5654 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.01073, allocations: 160.4 kB / 0.5655 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01073, allocations: 0 / 0.5655 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.01079, allocations: 23.98 kB / 0.5655 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.01079, allocations: 4 kB / 0.5655 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.0108, allocations: 8 kB / 0.5655 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.0108, allocations: 3.984 kB / 0.5655 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0108, allocations: 0 / 0.5655 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.01094, allocations: 247.7 kB / 0.5658 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.01097, allocations: 20.02 kB / 0.5658 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.01098, allocations: 11.98 kB / 0.5658 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.01103, allocations: 4 kB / 0.5658 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01107, allocations: 11.98 kB / 0.5658 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.01107, allocations: 0 / 0.5658 GB, free: 5.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.01112, allocations: 155.9 kB / 0.566 GB, free: 5.047 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 0 / 0.566 GB, free: 5.047 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00021/0.01133, allocations: 67.8 kB / 0.566 GB, free: 4.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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 0.0001563/0.01149, allocations: 159 kB / 0.5662 GB, free: 4.816 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.01164, allocations: 95.77 kB / 0.5663 GB, free: 4.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.01164, allocations: 4 kB / 0.5663 GB, free: 4.715 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.01168, allocations: 43.59 kB / 0.5663 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.01186, allocations: 20 kB / 0.5663 GB, free: 4.648 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.01233, allocations: 246.2 kB / 0.5666 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.01237, allocations: 79.69 kB / 0.5667 GB, free: 4.285 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.01242, allocations: 21.39 kB / 0.5667 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.01247, allocations: 28.48 kB / 0.5667 GB, free: 4.242 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01247, allocations: 0 / 0.5667 GB, free: 4.242 MB / 490.7 MB Notification: Performance of Templates: time 0.004533/0.017, allocations: 3.123 MB / 0.5698 GB, free: 1.172 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.512160978745669]