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.0009409/0.0009409, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009941/0.0009941, allocations: 169 kB / 23.27 MB, free: 1.223 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.9351/0.9351, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.001611/0.001611, allocations: 233.5 kB / 260.5 MB, free: 12.65 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.7278/0.7278, allocations: 138.4 MB / 455.5 MB, free: 29.95 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.502e-06/1.502e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.436e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006277/0.006301, allocations: 4.662 MB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.007405, allocations: 0.8302 MB / 0.561 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.007469, allocations: 0 / 0.561 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.007637, allocations: 35.77 kB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.007703, allocations: 31.66 kB / 0.561 GB, free: 10.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.008252, allocations: 191.2 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.00844, allocations: 175.3 kB / 0.5614 GB, free: 9.902 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.008521, allocations: 17.08 kB / 0.5614 GB, free: 9.887 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.008754, allocations: 111.7 kB / 0.5615 GB, free: 9.777 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.008855, allocations: 63.86 kB / 0.5616 GB, free: 9.715 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.008882, allocations: 16 kB / 0.5616 GB, free: 9.699 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.009179, allocations: 139.7 kB / 0.5617 GB, free: 9.562 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.009212, allocations: 39.89 kB / 0.5617 GB, free: 9.523 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.009271, allocations: 51.89 kB / 0.5618 GB, free: 9.473 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.009598, allocations: 215.3 kB / 0.562 GB, free: 9.262 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.0096, allocations: 0 / 0.562 GB, free: 9.262 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.009601, allocations: 0 / 0.562 GB, free: 9.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.009605, allocations: 0 / 0.562 GB, free: 9.262 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.0006485/0.01025, allocations: 499.7 kB / 0.5625 GB, free: 8.738 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.01029, allocations: 8.75 kB / 0.5625 GB, free: 8.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.01034, allocations: 28.84 kB / 0.5625 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.01044, allocations: 124.5 kB / 0.5626 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.01046, allocations: 8.375 kB / 0.5626 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.01048, allocations: 12.38 kB / 0.5626 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.01067, allocations: 94.84 kB / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.01068, allocations: 192 / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.01069, allocations: 8.125 kB / 0.5627 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.0107, allocations: 4 kB / 0.5627 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.0108, allocations: 46.14 kB / 0.5628 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.01154, allocations: 396.1 kB / 0.5632 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.01167, allocations: 82.95 kB / 0.5632 GB, free: 7.871 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.01172, allocations: 31.61 kB / 0.5633 GB, free: 7.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008751/0.0126, allocations: 0.5514 MB / 0.5638 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.01262, allocations: 37.39 kB / 0.5639 GB, free: 7.223 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.01262, allocations: 0 / 0.5639 GB, free: 7.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001887/0.01281, allocations: 106.9 kB / 0.564 GB, free: 7.113 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.01284, allocations: 55.41 kB / 0.564 GB, free: 7.047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.01294, allocations: 220.3 kB / 0.5642 GB, free: 6.816 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.01295, allocations: 29.7 kB / 0.5642 GB, free: 6.781 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.01301, allocations: 163.2 kB / 0.5644 GB, free: 6.613 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.01303, allocations: 43.61 kB / 0.5644 GB, free: 6.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.01308, allocations: 55.3 kB / 0.5645 GB, free: 6.508 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01318, allocations: 0.4961 MB / 0.565 GB, free: 6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.01322, allocations: 23.98 kB / 0.565 GB, free: 5.977 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.614e-05/0.01327, allocations: 71.95 kB / 0.5651 GB, free: 5.891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.01337, allocations: 98.3 kB / 0.5652 GB, free: 5.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01337, allocations: 4 kB / 0.5652 GB, free: 5.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001537/0.01352, allocations: 153.3 kB / 0.5653 GB, free: 5.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01353, allocations: 4 kB / 0.5653 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01354, allocations: 0 / 0.5653 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.01355, allocations: 4 kB / 0.5653 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01367, allocations: 43.97 kB / 0.5654 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01367, allocations: 4 kB / 0.5654 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.01373, allocations: 23.84 kB / 0.5654 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01374, allocations: 11.94 kB / 0.5654 GB, free: 5.531 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.509e-05/0.0138, allocations: 172.6 kB / 0.5656 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.01383, allocations: 15.91 kB / 0.5656 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.01395, allocations: 112.9 kB / 0.5657 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01395, allocations: 0 / 0.5657 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01396, allocations: 0 / 0.5657 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01396, allocations: 0 / 0.5657 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.01407, allocations: 137.1 kB / 0.5658 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.01407, allocations: 0 / 0.5658 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.01412, allocations: 23.98 kB / 0.5658 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01412, allocations: 4 kB / 0.5658 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.01413, allocations: 4 kB / 0.5659 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01413, allocations: 4 kB / 0.5659 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01413, allocations: 0 / 0.5659 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.01425, allocations: 251.6 kB / 0.5661 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.01428, allocations: 19.89 kB / 0.5661 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.0143, allocations: 4 kB / 0.5661 GB, free: 4.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.01435, allocations: 11.98 kB / 0.5661 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.01437, allocations: 3.984 kB / 0.5661 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01438, allocations: 8 kB / 0.5661 GB, free: 4.711 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.01442, allocations: 155.1 kB / 0.5663 GB, free: 4.562 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01442, allocations: 4 kB / 0.5663 GB, free: 4.559 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.01463, allocations: 63.81 kB / 0.5664 GB, free: 4.496 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.0001489/0.01478, allocations: 155.1 kB / 0.5665 GB, free: 4.336 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.01489, allocations: 94.17 kB / 0.5666 GB, free: 4.242 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01489, allocations: 4.188 kB / 0.5666 GB, free: 4.238 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.01493, allocations: 35.67 kB / 0.5666 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.01512, allocations: 34.84 kB / 0.5667 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.0155, allocations: 238.2 kB / 0.5669 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.01553, allocations: 71.84 kB / 0.567 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.01559, allocations: 14.34 kB / 0.567 GB, free: 3.805 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.01567, allocations: 98.19 kB / 0.5671 GB, free: 3.707 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01567, allocations: 0 / 0.5671 GB, free: 3.707 MB / 490.7 MB Notification: Performance of Templates: time 0.004083/0.01975, allocations: 3.122 MB / 0.5701 GB, free: 0.6406 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.501367781776935]