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.001229/0.001229, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001379/0.001379, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9544/0.9544, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.001642/0.001642, allocations: 241.5 kB / 261.3 MB, free: 12.68 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.7161/0.7161, allocations: 138.4 MB / 456.3 MB, free: 30.09 MB / 410.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.222e-06/1.222e-06, allocations: 0 / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.837e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004277/0.004295, allocations: 4.666 MB / 0.5609 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.00504, allocations: 0.8342 MB / 0.5617 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.005095, allocations: 0 / 0.5617 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.005237, allocations: 31.78 kB / 0.5618 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.005277, allocations: 35.64 kB / 0.5618 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.005928, allocations: 183.2 kB / 0.562 GB, free: 10.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.006071, allocations: 179.3 kB / 0.5621 GB, free: 9.922 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.006136, allocations: 17.09 kB / 0.5621 GB, free: 9.906 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.006279, allocations: 115.7 kB / 0.5623 GB, free: 9.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.006348, allocations: 63.84 kB / 0.5623 GB, free: 9.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.006367, allocations: 20 kB / 0.5623 GB, free: 9.711 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.006573, allocations: 131.7 kB / 0.5625 GB, free: 9.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.006598, allocations: 31.89 kB / 0.5625 GB, free: 9.551 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.006637, allocations: 51.89 kB / 0.5625 GB, free: 9.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.006865, allocations: 215.3 kB / 0.5627 GB, free: 9.289 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006866, allocations: 0 / 0.5627 GB, free: 9.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006867, allocations: 4 kB / 0.5628 GB, free: 9.285 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.00687, allocations: 0 / 0.5628 GB, free: 9.285 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.000506/0.007376, allocations: 0.4919 MB / 0.5632 GB, free: 8.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.00741, allocations: 8.75 kB / 0.5632 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.007456, allocations: 24.84 kB / 0.5633 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.931e-05/0.007545, allocations: 116.5 kB / 0.5634 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.007558, allocations: 12.38 kB / 0.5634 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.007573, allocations: 8.375 kB / 0.5634 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.00772, allocations: 98.83 kB / 0.5635 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.007726, allocations: 4.188 kB / 0.5635 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.007736, allocations: 12.12 kB / 0.5635 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.007741, allocations: 0 / 0.5635 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.007814, allocations: 50.59 kB / 0.5636 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.008306, allocations: 400 kB / 0.5639 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.008398, allocations: 82.95 kB / 0.564 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.008429, allocations: 31.67 kB / 0.564 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/0.009015, allocations: 0.5428 MB / 0.5646 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.009035, allocations: 37.39 kB / 0.5646 GB, free: 7.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.009036, allocations: 0 / 0.5646 GB, free: 7.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001773/0.009213, allocations: 112.6 kB / 0.5647 GB, free: 7.129 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.009241, allocations: 51.41 kB / 0.5648 GB, free: 7.066 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.009339, allocations: 216.3 kB / 0.565 GB, free: 6.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.009352, allocations: 33.7 kB / 0.565 GB, free: 6.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.009412, allocations: 163.2 kB / 0.5652 GB, free: 6.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.009431, allocations: 39.62 kB / 0.5652 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.009484, allocations: 59.28 kB / 0.5653 GB, free: 6.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.009584, allocations: 0.4961 MB / 0.5657 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.009619, allocations: 23.97 kB / 0.5658 GB, free: 5.996 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.009681, allocations: 79.94 kB / 0.5658 GB, free: 5.902 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.963e-05/0.00977, allocations: 92.28 kB / 0.5659 GB, free: 5.797 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009772, allocations: 4 kB / 0.5659 GB, free: 5.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001707/0.009943, allocations: 151.4 kB / 0.5661 GB, free: 5.641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.009954, allocations: 8 kB / 0.5661 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.009957, allocations: 0 / 0.5661 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.009965, allocations: 0 / 0.5661 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01009, allocations: 47.97 kB / 0.5661 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.01009, allocations: 0 / 0.5661 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.01015, allocations: 31.83 kB / 0.5662 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01017, allocations: 7.938 kB / 0.5662 GB, free: 5.547 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.665e-05/0.01023, allocations: 172.6 kB / 0.5663 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.01026, allocations: 11.91 kB / 0.5663 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.01038, allocations: 103 kB / 0.5664 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01038, allocations: 4 kB / 0.5664 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01039, allocations: 0 / 0.5664 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01039, allocations: 3.984 kB / 0.5664 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.0105, allocations: 133.1 kB / 0.5666 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.0105, allocations: 0 / 0.5666 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.01056, allocations: 23.98 kB / 0.5666 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.01056, allocations: 4 kB / 0.5666 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01057, allocations: 8 kB / 0.5666 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.01057, allocations: 0 / 0.5666 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01057, allocations: 0 / 0.5666 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.0107, allocations: 244.2 kB / 0.5668 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.01073, allocations: 23.89 kB / 0.5669 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01074, allocations: 4 kB / 0.5669 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.01079, allocations: 11.98 kB / 0.5669 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.01082, allocations: 7.984 kB / 0.5669 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01083, allocations: 4 kB / 0.5669 GB, free: 4.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.01088, allocations: 155.1 kB / 0.567 GB, free: 4.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 4 kB / 0.567 GB, free: 4.586 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01109, allocations: 67.8 kB / 0.5671 GB, free: 4.52 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.0001665/0.01125, allocations: 151.1 kB / 0.5673 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01138, allocations: 91.44 kB / 0.5673 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01138, allocations: 4.188 kB / 0.5673 GB, free: 4.266 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.01142, allocations: 33.53 kB / 0.5674 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01162, allocations: 35.91 kB / 0.5674 GB, free: 4.195 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.01202, allocations: 238.2 kB / 0.5676 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.01205, allocations: 67.84 kB / 0.5677 GB, free: 3.848 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.01211, allocations: 23.47 kB / 0.5677 GB, free: 3.828 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.0122, allocations: 102.2 kB / 0.5678 GB, free: 3.727 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0122, allocations: 0 / 0.5678 GB, free: 3.727 MB / 490.7 MB Notification: Performance of Templates: time 0.004534/0.01673, allocations: 3.175 MB / 0.5709 GB, free: 0.6211 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.661968369036913]