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.001309/0.001309, allocations: 92.22 kB / 19.65 MB, free: 276 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.001517/0.001517, allocations: 169 kB / 23.02 MB, free: 1.551 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.9503/0.9503, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001624/0.001624, allocations: 229.5 kB / 260.2 MB, free: 12.83 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.7711/0.7711, allocations: 138.4 MB / 455.2 MB, free: 29.93 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 2.334e-06/2.334e-06, allocations: 4 kB / 0.5551 GB, free: 120 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.27e-05, allocations: 8.078 kB / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006742/0.006764, allocations: 4.694 MB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.007429, allocations: 0.8303 MB / 0.5605 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.007476, allocations: 0 / 0.5605 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.007624, allocations: 27.8 kB / 0.5605 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.735e-05/0.007662, allocations: 43.62 kB / 0.5606 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.008052, allocations: 183.2 kB / 0.5607 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.00818, allocations: 179.3 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.008252, allocations: 21.06 kB / 0.5609 GB, free: 10.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.008397, allocations: 111.7 kB / 0.561 GB, free: 9.996 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.008462, allocations: 63.86 kB / 0.5611 GB, free: 9.934 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.008482, allocations: 16 kB / 0.5611 GB, free: 9.918 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.008675, allocations: 135.7 kB / 0.5613 GB, free: 9.785 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.008699, allocations: 35.89 kB / 0.5613 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.008737, allocations: 39.92 kB / 0.5613 GB, free: 9.711 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.008969, allocations: 219.3 kB / 0.5615 GB, free: 9.496 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.008971, allocations: 4 kB / 0.5615 GB, free: 9.492 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008971, allocations: 0 / 0.5615 GB, free: 9.492 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.008975, allocations: 0 / 0.5615 GB, free: 9.492 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.000523/0.009498, allocations: 0.4919 MB / 0.562 GB, free: 8.965 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.009529, allocations: 12.69 kB / 0.562 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.009575, allocations: 20.84 kB / 0.562 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.00966, allocations: 128.4 kB / 0.5622 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.009675, allocations: 16.36 kB / 0.5622 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.009691, allocations: 4.375 kB / 0.5622 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.009854, allocations: 101.9 kB / 0.5623 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.009863, allocations: 4.188 kB / 0.5623 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.009876, allocations: 8.125 kB / 0.5623 GB, free: 8.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.009882, allocations: 0 / 0.5623 GB, free: 8.645 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.009978, allocations: 55.95 kB / 0.5624 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.01053, allocations: 431.4 kB / 0.5628 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.01064, allocations: 79.03 kB / 0.5628 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.01069, allocations: 35.61 kB / 0.5629 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.0113, allocations: 0.5429 MB / 0.5634 GB, free: 7.441 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.01132, allocations: 37.33 kB / 0.5634 GB, free: 7.395 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.01132, allocations: 0 / 0.5634 GB, free: 7.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002142/0.01154, allocations: 118.2 kB / 0.5636 GB, free: 7.273 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.01156, allocations: 51.41 kB / 0.5636 GB, free: 7.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.01167, allocations: 224.4 kB / 0.5638 GB, free: 6.977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.01168, allocations: 29.7 kB / 0.5638 GB, free: 6.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.01174, allocations: 159.2 kB / 0.564 GB, free: 6.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.01176, allocations: 39.62 kB / 0.564 GB, free: 6.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.01182, allocations: 63.3 kB / 0.5641 GB, free: 6.668 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01192, allocations: 0.4961 MB / 0.5646 GB, free: 6.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.01197, allocations: 27.98 kB / 0.5646 GB, free: 6.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.01205, allocations: 80.12 kB / 0.5647 GB, free: 6.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01216, allocations: 110.3 kB / 0.5648 GB, free: 5.918 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01216, allocations: 0 / 0.5648 GB, free: 5.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001949/0.01236, allocations: 165.4 kB / 0.5649 GB, free: 5.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01237, allocations: 4 kB / 0.5649 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.01237, allocations: 0 / 0.5649 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01239, allocations: 4 kB / 0.565 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.01252, allocations: 51.84 kB / 0.565 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01253, allocations: 4 kB / 0.565 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.01259, allocations: 35.77 kB / 0.565 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.0126, allocations: 8.094 kB / 0.565 GB, free: 5.645 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.567e-05/0.01267, allocations: 168.5 kB / 0.5652 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.01269, allocations: 15.91 kB / 0.5652 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.01284, allocations: 113.5 kB / 0.5653 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01284, allocations: 0 / 0.5653 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01284, allocations: 0 / 0.5653 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.01285, allocations: 0 / 0.5653 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.01296, allocations: 152.5 kB / 0.5655 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01296, allocations: 4 kB / 0.5655 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.01302, allocations: 27.92 kB / 0.5655 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01302, allocations: 4 kB / 0.5655 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.01303, allocations: 3.984 kB / 0.5655 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.01303, allocations: 0 / 0.5655 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01303, allocations: 3.938 kB / 0.5655 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.01317, allocations: 243.8 kB / 0.5658 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.0132, allocations: 23.89 kB / 0.5658 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.01322, allocations: 7.984 kB / 0.5658 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.01326, allocations: 4 kB / 0.5658 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01331, allocations: 11.98 kB / 0.5658 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01331, allocations: 7.984 kB / 0.5658 GB, free: 4.797 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.869e-05/0.01338, allocations: 151.2 kB / 0.5659 GB, free: 4.652 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01338, allocations: 0 / 0.5659 GB, free: 4.652 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.01369, allocations: 67.8 kB / 0.566 GB, free: 4.586 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.0002109/0.0139, allocations: 170.9 kB / 0.5662 GB, free: 4.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.0141, allocations: 102.5 kB / 0.5663 GB, free: 4.309 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.0141, allocations: 0 / 0.5663 GB, free: 4.309 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.01416, allocations: 47.59 kB / 0.5663 GB, free: 4.258 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01445, allocations: 27.92 kB / 0.5663 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.015, allocations: 238.4 kB / 0.5666 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.01504, allocations: 67.83 kB / 0.5666 GB, free: 3.883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009076/0.02412, allocations: 22.44 kB / 0.5667 GB, free: 3.867 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.02417, allocations: 24.48 kB / 0.5667 GB, free: 3.844 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02417, allocations: 0 / 0.5667 GB, free: 3.844 MB / 490.7 MB Notification: Performance of Templates: time 0.01397/0.03814, allocations: 2.792 MB / 0.5694 GB, free: 1.109 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.919245485216379]