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.0008341/0.0008341, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009952/0.0009952, allocations: 177 kB / 23.36 MB, free: 1.137 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.9403/0.9403, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001598/0.001598, allocations: 243.2 kB / 260.5 MB, free: 12.71 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.683/0.683, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.522e-06/1.522e-06, allocations: 0 / 462.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.766e-05, allocations: 3.844 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.01149/0.01151, allocations: 4.691 MB / 467 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.01246, allocations: 0.8378 MB / 467.9 MB, free: 13.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.01252, allocations: 4 kB / 467.9 MB, free: 13.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.01267, allocations: 27.77 kB / 467.9 MB, free: 13.06 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.01273, allocations: 32.84 kB / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.01322, allocations: 185.5 kB / 468.1 MB, free: 12.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.01339, allocations: 184.3 kB / 468.3 MB, free: 12.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.01346, allocations: 9.969 kB / 468.3 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.01665, allocations: 116.5 kB / 468.4 MB, free: 12.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.01674, allocations: 67.77 kB / 468.5 MB, free: 12.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.01676, allocations: 13.41 kB / 468.5 MB, free: 12.47 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.01701, allocations: 135.8 kB / 468.6 MB, free: 12.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.01703, allocations: 31.89 kB / 468.6 MB, free: 12.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.01708, allocations: 52.67 kB / 468.7 MB, free: 12.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.01742, allocations: 215.3 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.01742, allocations: 0.5 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01742, allocations: 0.5625 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.01742, allocations: 0 / 468.9 MB, free: 12.05 MB / 426.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.0004936/0.01792, allocations: 377.5 kB / 469.3 MB, free: 11.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.01795, allocations: 12.75 kB / 469.3 MB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.01798, allocations: 18.8 kB / 469.3 MB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.399e-05/0.01807, allocations: 121.6 kB / 469.4 MB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.01808, allocations: 4.375 kB / 469.4 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.0181, allocations: 14.22 kB / 469.4 MB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.01826, allocations: 98.89 kB / 469.5 MB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.01826, allocations: 4.125 kB / 469.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.01827, allocations: 8.125 kB / 469.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.01828, allocations: 5 kB / 469.6 MB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.01836, allocations: 38 kB / 469.6 MB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.01888, allocations: 301.1 kB / 469.9 MB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.01898, allocations: 66.3 kB / 470 MB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.01902, allocations: 24.86 kB / 470 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003671/0.02269, allocations: 427 kB / 470.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.02271, allocations: 43.97 kB / 470.4 MB, free: 10.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.02271, allocations: 0 / 470.4 MB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001614/0.02287, allocations: 83.08 kB / 470.5 MB, free: 10.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.0229, allocations: 55.34 kB / 470.6 MB, free: 10.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.023, allocations: 164.2 kB / 470.7 MB, free: 10.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.02301, allocations: 25.7 kB / 470.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.02306, allocations: 109.1 kB / 470.9 MB, free: 9.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.02309, allocations: 47.62 kB / 470.9 MB, free: 9.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.02315, allocations: 46.66 kB / 471 MB, free: 9.879 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.02323, allocations: 330.7 kB / 471.3 MB, free: 9.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.02327, allocations: 20.77 kB / 471.3 MB, free: 9.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.02333, allocations: 56.88 kB / 471.4 MB, free: 9.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.623e-05/0.02343, allocations: 82.73 kB / 471.4 MB, free: 9.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02343, allocations: 0.7812 kB / 471.4 MB, free: 9.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001622/0.02359, allocations: 120.8 kB / 471.6 MB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.02361, allocations: 7.984 kB / 471.6 MB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.02361, allocations: 4.625 kB / 471.6 MB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.02363, allocations: 4 kB / 471.6 MB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.02378, allocations: 47.92 kB / 471.6 MB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.02378, allocations: 8.688 kB / 471.6 MB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.02384, allocations: 19.84 kB / 471.6 MB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.02385, allocations: 8.781 kB / 471.7 MB, free: 9.16 MB / 426.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.146e-05/0.02391, allocations: 126.2 kB / 471.8 MB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.02393, allocations: 11.98 kB / 471.8 MB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.02404, allocations: 92 kB / 471.9 MB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02404, allocations: 4 kB / 471.9 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.02404, allocations: 0 / 471.9 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.02404, allocations: 2.469 kB / 471.9 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.02414, allocations: 101.8 kB / 472 MB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02414, allocations: 3.984 kB / 472 MB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.02419, allocations: 26.03 kB / 472 MB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.0242, allocations: 4 kB / 472 MB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.0242, allocations: 4 kB / 472 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.0242, allocations: 0 / 472 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.0242, allocations: 0.9688 kB / 472 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.703e-05/0.02429, allocations: 168.4 kB / 472.2 MB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.02432, allocations: 25.42 kB / 472.2 MB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.02433, allocations: 0.8125 kB / 472.2 MB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.02437, allocations: 8 kB / 472.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.0244, allocations: 11.97 kB / 472.2 MB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.02441, allocations: 4.812 kB / 472.2 MB, free: 8.547 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.02443, allocations: 34.47 kB / 472.3 MB, free: 8.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02443, allocations: 1.156 kB / 472.3 MB, free: 8.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.02473, allocations: 67.8 kB / 472.3 MB, free: 8.445 MB / 426.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.0001533/0.02489, allocations: 138 kB / 472.5 MB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.02499, allocations: 78.81 kB / 472.6 MB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.02499, allocations: 4 kB / 472.6 MB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.02503, allocations: 33.88 kB / 472.6 MB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.02517, allocations: 33.12 kB / 472.6 MB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.02555, allocations: 237.5 kB / 472.9 MB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.02559, allocations: 71.78 kB / 472.9 MB, free: 7.812 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.02565, allocations: 28.69 kB / 473 MB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.02572, allocations: 77.05 kB / 473 MB, free: 7.723 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02572, allocations: 0 / 473 MB, free: 7.723 MB / 426.7 MB Notification: Performance of Templates: time 0.004135/0.02986, allocations: 2.997 MB / 476 MB, free: 5.023 MB / 426.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.4954483211040497]