Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001576/0.001576, allocations: 78.58 kB / 19 MB, free: 2.867 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.001556/0.001556, allocations: 162.7 kB / 22.26 MB, free: 5.133 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.487/1.487, allocations: 177.2 MB / 202.6 MB, free: 9.27 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.002702/0.002702, allocations: 233 kB / 259.2 MB, free: 0.582 MB / 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.086/1.086, allocations: 138.5 MB / 454.2 MB, free: 2.012 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [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.003006/0.003006, allocations: 103.8 kB / 0.6466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.478, allocations: 95.35 MB / 0.7397 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005854/0.4839, allocations: 3.622 MB / 0.7432 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002268/0.4841, allocations: 147.5 kB / 0.7434 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.4841, allocations: 0 / 0.7434 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.4842, allocations: 7.938 kB / 0.7434 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.4843, allocations: 11.98 kB / 0.7434 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.4847, allocations: 80.19 kB / 0.7435 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.4848, allocations: 35.91 kB / 0.7435 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.4848, allocations: 3.984 kB / 0.7435 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.4849, allocations: 27.91 kB / 0.7435 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.4849, allocations: 11.88 kB / 0.7435 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.485, allocations: 4 kB / 0.7435 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006156/0.4856, allocations: 207.4 kB / 0.7437 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.4856, allocations: 7.984 kB / 0.7437 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.4856, allocations: 8 kB / 0.7438 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.4858, allocations: 68.91 kB / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4858, allocations: 0 / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4858, allocations: 0 / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4858, allocations: 3.938 kB / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003902/0.4862, allocations: 258.3 kB / 0.7441 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4862, allocations: 12.75 kB / 0.7441 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.4863, allocations: 8.938 kB / 0.7441 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4864, allocations: 106.5 kB / 0.7442 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.4864, allocations: 55.97 kB / 0.7442 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.4865, allocations: 384 / 0.7442 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4866, allocations: 79.31 kB / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.4866, allocations: 0 / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4866, allocations: 0 / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4867, allocations: 0 / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.4867, allocations: 15.92 kB / 0.7443 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.4871, allocations: 204.6 kB / 0.7445 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.4871, allocations: 22.58 kB / 0.7446 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.4871, allocations: 8.859 kB / 0.7446 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.4872, allocations: 12 kB / 0.7446 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4872, allocations: 34.55 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4872, allocations: 0 / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.4874, allocations: 37.64 kB / 0.7446 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.4874, allocations: 51.41 kB / 0.7447 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.4875, allocations: 101.8 kB / 0.7448 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4875, allocations: 29.7 kB / 0.7448 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.4876, allocations: 84.22 kB / 0.7449 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.4876, allocations: 15.89 kB / 0.7449 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.4876, allocations: 13.72 kB / 0.7449 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4878, allocations: 318.8 kB / 0.7452 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.4878, allocations: 8 kB / 0.7452 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.4878, allocations: 13.72 kB / 0.7452 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.4878, allocations: 29.64 kB / 0.7453 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4878, allocations: 0 / 0.7453 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.467e-05/0.4879, allocations: 37.77 kB / 0.7453 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4879, allocations: 12 kB / 0.7453 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4879, allocations: 0 / 0.7453 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.488, allocations: 3.938 kB / 0.7453 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.488, allocations: 12.2 kB / 0.7453 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.488, allocations: 0 / 0.7453 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.488, allocations: 8 kB / 0.7453 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.488, allocations: 0 / 0.7453 GB, free: 9.168 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.401e-05/0.4881, allocations: 113.8 kB / 0.7455 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.4881, allocations: 0 / 0.7455 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.4883, allocations: 138.2 kB / 0.7456 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.312e-05/0.4883, allocations: 180.2 kB / 0.7458 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.272e-05/0.4884, allocations: 180.3 kB / 0.7459 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.807e-05/0.4885, allocations: 180.2 kB / 0.7461 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4887, allocations: 360.8 kB / 0.7464 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.4888, allocations: 101 kB / 0.7465 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.4888, allocations: 104.9 kB / 0.7466 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.371e-05/0.4889, allocations: 180.3 kB / 0.7468 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.489, allocations: 188.2 kB / 0.747 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.666e-05/0.4891, allocations: 180.3 kB / 0.7472 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.349e-05/0.4891, allocations: 184.3 kB / 0.7473 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.4893, allocations: 315.6 kB / 0.7476 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.4894, allocations: 108.9 kB / 0.7477 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.4894, allocations: 180.3 kB / 0.7479 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4896, allocations: 109 kB / 0.748 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.4897, allocations: 180.2 kB / 0.7482 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.4897, allocations: 105 kB / 0.7483 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.4898, allocations: 83.28 kB / 0.7484 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4898, allocations: 0 / 0.7484 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002453/0.49, allocations: 15.94 kB / 0.7484 GB, free: 5.871 MB / 0.5762 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 (0): * Single equations (assignments): 0 * 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.0002001/0.4902, allocations: 206.4 kB / 0.7486 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.4903, allocations: 7.938 kB / 0.7486 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4903, allocations: 4 kB / 0.7486 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.4903, allocations: 0 / 0.7486 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.4907, allocations: 463.6 kB / 0.749 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.491, allocations: 186 kB / 0.7492 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.727e-05/0.4911, allocations: 59.34 kB / 0.7493 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.4911, allocations: 11.38 kB / 0.7493 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.4911, allocations: 8.5 kB / 0.7493 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4911, allocations: 4 kB / 0.7493 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.003205/0.4943, allocations: 0.6678 MB / 0.7499 GB, free: 4.242 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.184445226565003] Failed to read output from testmodel.py, exit status != 0: 0.5028209518641233 0.5173291050000001 0.028472684 Calling exit ...