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.001963/0.001963, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002469/0.002469, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.513/1.513, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002439/0.002439, allocations: 247.7 kB / 259.4 MB, free: 480 kB / 238.1 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 1.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 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.472e-06/1.472e-06, allocations: 0 / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.756e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006487/0.006515, allocations: 4.401 MB / 0.6511 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2659/0.2724, allocations: 0.7507 MB / 0.6518 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.2725, allocations: 1.062 kB / 0.6518 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.2727, allocations: 22.89 kB / 0.6518 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.2727, allocations: 35.97 kB / 0.6519 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.2733, allocations: 180.4 kB / 0.6521 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.2735, allocations: 189.1 kB / 0.6522 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.2736, allocations: 11.7 kB / 0.6522 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.2738, allocations: 107.6 kB / 0.6523 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.2739, allocations: 65.88 kB / 0.6524 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.2739, allocations: 13.81 kB / 0.6524 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.2742, allocations: 143.7 kB / 0.6526 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.2742, allocations: 30.92 kB / 0.6526 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2743, allocations: 46.3 kB / 0.6526 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.2746, allocations: 258.7 kB / 0.6529 GB, free: 53.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2746, allocations: 1.625 kB / 0.6529 GB, free: 53.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2746, allocations: 3.844 kB / 0.6529 GB, free: 53.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2746, allocations: 0 / 0.6529 GB, free: 53.01 MB / 0.5606 GB 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.0007534/0.2754, allocations: 410.3 kB / 0.6533 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2754, allocations: 11.66 kB / 0.6533 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.2755, allocations: 16.06 kB / 0.6533 GB, free: 52.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.2755, allocations: 118.1 kB / 0.6534 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2756, allocations: 14.58 kB / 0.6534 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.2756, allocations: 18.53 kB / 0.6535 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.2759, allocations: 115.8 kB / 0.6536 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2759, allocations: 6.25 kB / 0.6536 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2759, allocations: 3.875 kB / 0.6536 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2759, allocations: 3.938 kB / 0.6536 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.2763, allocations: 139 kB / 0.6537 GB, free: 52.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.2772, allocations: 383.4 kB / 0.6541 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.2775, allocations: 116.8 kB / 0.6542 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2777, allocations: 63.56 kB / 0.6542 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.2787, allocations: 477.6 kB / 0.6547 GB, free: 52.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2787, allocations: 34.44 kB / 0.6547 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.2787, allocations: 0 / 0.6547 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006368/0.2793, allocations: 210 kB / 0.6549 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2794, allocations: 59.06 kB / 0.655 GB, free: 51.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2795, allocations: 168.9 kB / 0.6552 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.2795, allocations: 32.92 kB / 0.6552 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.2795, allocations: 109.4 kB / 0.6553 GB, free: 51.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.2796, allocations: 45.09 kB / 0.6553 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.2796, allocations: 46.75 kB / 0.6554 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.2797, allocations: 325.1 kB / 0.6557 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.2799, allocations: 73.5 kB / 0.6558 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.2802, allocations: 118.7 kB / 0.6559 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.2806, allocations: 171.6 kB / 0.656 GB, free: 51.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2806, allocations: 0 / 0.656 GB, free: 51.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005272/0.2811, allocations: 245.6 kB / 0.6563 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2811, allocations: 9.922 kB / 0.6563 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2811, allocations: 1.266 kB / 0.6563 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2812, allocations: 3.156 kB / 0.6563 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2814, allocations: 54.97 kB / 0.6563 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2814, allocations: 0 / 0.6563 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.2816, allocations: 30.95 kB / 0.6564 GB, free: 51.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.2816, allocations: 16.83 kB / 0.6564 GB, free: 51.18 MB / 0.5606 GB 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 7.1e-05/0.2817, allocations: 126.1 kB / 0.6565 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2817, allocations: 11.34 kB / 0.6565 GB, free: 51.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.2822, allocations: 176.5 kB / 0.6567 GB, free: 51.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2822, allocations: 6.469 kB / 0.6567 GB, free: 51.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2822, allocations: 4 kB / 0.6567 GB, free: 51.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2822, allocations: 0 / 0.6567 GB, free: 51.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.2823, allocations: 155.1 kB / 0.6568 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2823, allocations: 0.625 kB / 0.6568 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2825, allocations: 32.75 kB / 0.6569 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2825, allocations: 0 / 0.6569 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2825, allocations: 3.938 kB / 0.6569 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2825, allocations: 5.656 kB / 0.6569 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2825, allocations: 0 / 0.6569 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.2829, allocations: 265.4 kB / 0.6571 GB, free: 50.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.283, allocations: 21.64 kB / 0.6571 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.283, allocations: 3.125 kB / 0.6572 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2831, allocations: 16.83 kB / 0.6572 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2832, allocations: 6.438 kB / 0.6572 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.2832, allocations: 3.219 kB / 0.6572 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.2833, allocations: 115.3 kB / 0.6573 GB, free: 50.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2833, allocations: 0 / 0.6573 GB, free: 50.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003498/0.2836, allocations: 67.67 kB / 0.6574 GB, free: 50.64 MB / 0.5606 GB 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.0002659/0.2839, allocations: 157.8 kB / 0.6575 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.2844, allocations: 174.5 kB / 0.6577 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2844, allocations: 3.094 kB / 0.6577 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.2845, allocations: 59.78 kB / 0.6577 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.2849, allocations: 26.28 kB / 0.6578 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.2854, allocations: 234.2 kB / 0.658 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.032e-05/0.2854, allocations: 87.27 kB / 0.6581 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.866e-05/0.2855, allocations: 28.59 kB / 0.6581 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.2856, allocations: 18.44 kB / 0.6581 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2856, allocations: 0 / 0.6581 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.006043/0.2916, allocations: 2.853 MB / 0.6609 GB, free: 50.02 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.960766509175301] Failed to read output from testmodel.py, exit status != 0: 0.29970869421958923 0.309150216 0.031928466 Calling exit ...