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.001311/0.001311, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001383/0.001383, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.002519/0.002519, allocations: 233.5 kB / 260 MB, free: 432 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 0.9344/0.9344, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003119/0.003119, allocations: 104.3 kB / 0.6474 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3993, allocations: 95.35 MB / 0.7405 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004952/0.4042, allocations: 4.389 MB / 0.7448 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.4051, allocations: 0.7525 MB / 0.7455 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.4052, allocations: 1.375 kB / 0.7455 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.4054, allocations: 31.81 kB / 0.7455 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.4054, allocations: 32.62 kB / 0.7456 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.406, allocations: 178 kB / 0.7457 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.4062, allocations: 175.5 kB / 0.7459 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.548e-05/0.4062, allocations: 12.64 kB / 0.7459 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.4064, allocations: 86.69 kB / 0.746 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4065, allocations: 70.84 kB / 0.746 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.4065, allocations: 14.25 kB / 0.7461 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.4068, allocations: 139.1 kB / 0.7462 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.4068, allocations: 36.12 kB / 0.7462 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.4069, allocations: 55.23 kB / 0.7463 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.4073, allocations: 242 kB / 0.7465 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4073, allocations: 5.312 kB / 0.7465 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4073, allocations: 0.7969 kB / 0.7465 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4073, allocations: 0 / 0.7465 GB, free: 13.4 MB / 0.5919 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.0007664/0.4081, allocations: 407.5 kB / 0.7469 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.4081, allocations: 10.06 kB / 0.7469 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.4082, allocations: 15.5 kB / 0.7469 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.4083, allocations: 131.2 kB / 0.7471 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4083, allocations: 5.219 kB / 0.7471 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4083, allocations: 11.28 kB / 0.7471 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.4086, allocations: 124.2 kB / 0.7472 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4086, allocations: 3.938 kB / 0.7472 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4087, allocations: 9.312 kB / 0.7472 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4087, allocations: 1.375 kB / 0.7472 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.4091, allocations: 140.2 kB / 0.7473 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.4099, allocations: 388.9 kB / 0.7477 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.4102, allocations: 109.6 kB / 0.7478 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.4104, allocations: 73.27 kB / 0.7479 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.4115, allocations: 474 kB / 0.7483 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.4115, allocations: 36.41 kB / 0.7484 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.4115, allocations: 1.031 kB / 0.7484 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006728/0.4122, allocations: 209.4 kB / 0.7486 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.4122, allocations: 56.84 kB / 0.7486 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4123, allocations: 165.5 kB / 0.7488 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4123, allocations: 31.2 kB / 0.7488 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.4124, allocations: 107.9 kB / 0.7489 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.4124, allocations: 45.88 kB / 0.749 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.4125, allocations: 48.36 kB / 0.749 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.4125, allocations: 321.7 kB / 0.7493 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4127, allocations: 75.97 kB / 0.7494 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.413, allocations: 118.1 kB / 0.7495 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.4134, allocations: 170.3 kB / 0.7497 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4134, allocations: 1.406 kB / 0.7497 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005465/0.4139, allocations: 247.3 kB / 0.7499 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4139, allocations: 6.188 kB / 0.7499 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4139, allocations: 2.359 kB / 0.7499 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.414, allocations: 1.312 kB / 0.7499 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.4142, allocations: 58.52 kB / 0.75 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4142, allocations: 6.891 kB / 0.75 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4144, allocations: 35.53 kB / 0.75 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.4144, allocations: 9.406 kB / 0.75 GB, free: 11.02 MB / 0.5919 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 6.513e-05/0.4145, allocations: 123.9 kB / 0.7501 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.4145, allocations: 13.17 kB / 0.7501 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.415, allocations: 170.5 kB / 0.7503 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.415, allocations: 5.312 kB / 0.7503 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.415, allocations: 1.125 kB / 0.7503 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.415, allocations: 0.8906 kB / 0.7503 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.4151, allocations: 159.1 kB / 0.7505 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4151, allocations: 0 / 0.7505 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.4153, allocations: 31.97 kB / 0.7505 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4153, allocations: 1.25 kB / 0.7505 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4153, allocations: 1.406 kB / 0.7505 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4153, allocations: 0 / 0.7505 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4153, allocations: 9.125 kB / 0.7505 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.4157, allocations: 263.5 kB / 0.7508 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.4158, allocations: 17.69 kB / 0.7508 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4158, allocations: 0.75 kB / 0.7508 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.416, allocations: 21.33 kB / 0.7508 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.416, allocations: 12.39 kB / 0.7508 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.416, allocations: 5.625 kB / 0.7508 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.4161, allocations: 123.2 kB / 0.7509 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4161, allocations: 0 / 0.7509 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003469/0.4164, allocations: 65.28 kB / 0.751 GB, free: 10.33 MB / 0.5919 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.0002171/0.4166, allocations: 153.9 kB / 0.7511 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004904/0.4171, allocations: 165.5 kB / 0.7513 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4171, allocations: 0 / 0.7513 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.4173, allocations: 64.88 kB / 0.7514 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4177, allocations: 24.23 kB / 0.7514 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.4181, allocations: 273.6 kB / 0.7516 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.177e-05/0.4182, allocations: 93.52 kB / 0.7517 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.609e-05/0.4182, allocations: 16.8 kB / 0.7517 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.4183, allocations: 17.84 kB / 0.7518 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.4183, allocations: 4 kB / 0.7518 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of Templates: time 0.006987/0.4253, allocations: 2.836 MB / 0.7545 GB, free: 9.273 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89855007303413] Failed to read output from testmodel.py, exit status != 0: 0.43385511997621506 0.45129296199999996 0.040006141 Calling exit ...