Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001526/0.001526, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001378/0.001378, allocations: 160.3 kB / 23.01 MB, free: 4.957 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.353/1.353, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.002385/0.002385, allocations: 238 kB / 260 MB, free: 448 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.8849/0.8849, allocations: 138.5 MB / 455 MB, free: 15.1 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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.002936/0.002936, allocations: 99.84 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4145, allocations: 95.34 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004108/0.4186, allocations: 3.234 MB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 8.293e-05/0.4187, allocations: 55.92 kB / 0.7437 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.4187, allocations: 0 / 0.7437 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.235e-05/0.4188, allocations: 5.984 kB / 0.7437 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.4189, allocations: 17.14 kB / 0.7437 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.4194, allocations: 195.8 kB / 0.7439 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.4195, allocations: 28.3 kB / 0.7439 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.4195, allocations: 2.094 kB / 0.7439 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.4196, allocations: 23.98 kB / 0.7439 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.4196, allocations: 13.05 kB / 0.7439 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4196, allocations: 2.094 kB / 0.7439 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.4199, allocations: 134.2 kB / 0.7441 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.4199, allocations: 5.297 kB / 0.7441 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.4199, allocations: 14.83 kB / 0.7441 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.4202, allocations: 125.4 kB / 0.7442 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4202, allocations: 0 / 0.7442 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4202, allocations: 4 kB / 0.7442 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4202, allocations: 1.25 kB / 0.7442 GB, free: 14.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003161/0.4205, allocations: 267.8 kB / 0.7445 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4205, allocations: 11.47 kB / 0.7445 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.4206, allocations: 2.125 kB / 0.7445 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.4207, allocations: 109.5 kB / 0.7446 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.4207, allocations: 54 kB / 0.7446 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.4207, allocations: 6.359 kB / 0.7446 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.4208, allocations: 77.33 kB / 0.7447 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4209, allocations: 0 / 0.7447 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4209, allocations: 4 kB / 0.7447 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.4209, allocations: 1.344 kB / 0.7447 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.4209, allocations: 17.16 kB / 0.7447 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.4214, allocations: 237.7 kB / 0.745 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.4214, allocations: 17.33 kB / 0.745 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.4214, allocations: 6.734 kB / 0.745 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.4215, allocations: 43.23 kB / 0.745 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4215, allocations: 33.14 kB / 0.7451 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4215, allocations: 0 / 0.7451 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.4216, allocations: 44.34 kB / 0.7451 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.4217, allocations: 52.02 kB / 0.7451 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/0.4217, allocations: 103.6 kB / 0.7452 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.4217, allocations: 29.7 kB / 0.7453 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.4218, allocations: 86.62 kB / 0.7454 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.4218, allocations: 6.25 kB / 0.7454 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.4218, allocations: 14.72 kB / 0.7454 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.4218, allocations: 321.4 kB / 0.7457 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.4218, allocations: 2.906 kB / 0.7457 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.4219, allocations: 14.91 kB / 0.7457 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.4219, allocations: 29 kB / 0.7457 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4219, allocations: 1.656 kB / 0.7457 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.592e-05/0.422, allocations: 49.12 kB / 0.7458 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.422, allocations: 5.5 kB / 0.7458 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.422, allocations: 2.125 kB / 0.7458 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.422, allocations: 0 / 0.7458 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.422, allocations: 6.812 kB / 0.7458 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.422, allocations: 0 / 0.7458 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.4221, allocations: 5.438 kB / 0.7458 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4221, allocations: 3.453 kB / 0.7458 GB, free: 13.36 MB / 0.5919 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 4.056e-05/0.4221, allocations: 115.8 kB / 0.7459 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.4221, allocations: 1.375 kB / 0.7459 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.4222, allocations: 129.2 kB / 0.746 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.4222, allocations: 182.7 kB / 0.7462 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/0.4223, allocations: 177.6 kB / 0.7464 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.4223, allocations: 182.6 kB / 0.7465 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.4224, allocations: 359.7 kB / 0.7469 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.4224, allocations: 115.1 kB / 0.747 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.4224, allocations: 102.3 kB / 0.7471 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/0.4224, allocations: 177.8 kB / 0.7473 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.4225, allocations: 190.5 kB / 0.7474 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.4225, allocations: 177.6 kB / 0.7476 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-05/0.4225, allocations: 183.1 kB / 0.7478 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.4226, allocations: 308.1 kB / 0.7481 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.4226, allocations: 107.4 kB / 0.7482 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.4226, allocations: 178.7 kB / 0.7484 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4227, allocations: 109.8 kB / 0.7485 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.4228, allocations: 183.6 kB / 0.7486 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.4228, allocations: 109.5 kB / 0.7487 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.4228, allocations: 87.73 kB / 0.7488 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4228, allocations: 3.938 kB / 0.7488 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000261/0.4231, allocations: 42.02 kB / 0.7489 GB, free: 10.12 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 (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.0001907/0.4233, allocations: 231.8 kB / 0.7491 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.139e-05/0.4233, allocations: 7.141 kB / 0.7491 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4233, allocations: 0 / 0.7491 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4233, allocations: 1.375 kB / 0.7491 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.4236, allocations: 466 kB / 0.7495 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.4238, allocations: 185.8 kB / 0.7497 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.4239, allocations: 62.7 kB / 0.7498 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.4239, allocations: 7.391 kB / 0.7498 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.4239, allocations: 10.67 kB / 0.7498 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.4239, allocations: 0 / 0.7498 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of Templates: time 0.003679/0.4276, allocations: 1.263 MB / 0.751 GB, free: 8.996 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.592119470005855] Failed to read output from testmodel.py, exit status != 0: 0.4347944670589641 0.44579670499999996 0.023239289 Calling exit ...