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.001391/0.001391, allocations: 78.27 kB / 19.01 MB, free: 2.859 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.001538/0.001538, allocations: 156.1 kB / 22.25 MB, free: 5.109 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.449/1.449, allocations: 177.2 MB / 202.6 MB, free: 9.273 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.002566/0.002566, allocations: 226.3 kB / 259.2 MB, free: 0.5938 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.07/1.07, allocations: 138.5 MB / 454.2 MB, free: 2.055 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.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.003374/0.003374, allocations: 96.38 kB / 0.6466 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4149, allocations: 95.36 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005266/0.4202, allocations: 3.222 MB / 0.7429 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.4203, allocations: 55.86 kB / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.4203, allocations: 4 kB / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.4205, allocations: 3.938 kB / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.4205, allocations: 19.91 kB / 0.7429 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.4211, allocations: 179.3 kB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.4212, allocations: 39.84 kB / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.4212, allocations: 0 / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.4213, allocations: 19.98 kB / 0.7432 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/0.4214, allocations: 19.91 kB / 0.7432 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.4214, allocations: 0 / 0.7432 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.4217, allocations: 135.5 kB / 0.7433 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.4217, allocations: 7.969 kB / 0.7433 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.4218, allocations: 8 kB / 0.7433 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.422, allocations: 124.8 kB / 0.7434 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.422, allocations: 0 / 0.7434 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.422, allocations: 0 / 0.7434 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.422, allocations: 4 kB / 0.7435 GB, free: 11.36 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.0003968/0.4224, allocations: 270.2 kB / 0.7437 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4224, allocations: 8.625 kB / 0.7437 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.4225, allocations: 0.9375 kB / 0.7437 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4226, allocations: 118.4 kB / 0.7438 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.4227, allocations: 55.97 kB / 0.7439 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4227, allocations: 4.375 kB / 0.7439 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.4228, allocations: 75.27 kB / 0.744 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4228, allocations: 0 / 0.744 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4228, allocations: 4 kB / 0.744 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4229, allocations: 0 / 0.744 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.4229, allocations: 15.98 kB / 0.744 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.4234, allocations: 240.5 kB / 0.7442 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.4235, allocations: 18.52 kB / 0.7442 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.4235, allocations: 8.922 kB / 0.7442 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.4236, allocations: 39.97 kB / 0.7443 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4237, allocations: 30.56 kB / 0.7443 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 3.456e-06/0.4237, allocations: 3.984 kB / 0.7443 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001709/0.4238, allocations: 49.62 kB / 0.7444 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4239, allocations: 51.41 kB / 0.7444 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.424, allocations: 97.8 kB / 0.7445 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.424, allocations: 33.7 kB / 0.7445 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.4241, allocations: 88.08 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.4241, allocations: 3.953 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.4241, allocations: 13.72 kB / 0.7446 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4242, allocations: 318.8 kB / 0.7449 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.4243, allocations: 4 kB / 0.7449 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.4243, allocations: 17.7 kB / 0.745 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.4244, allocations: 29.78 kB / 0.745 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4244, allocations: 0 / 0.745 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.2e-05/0.4244, allocations: 45.69 kB / 0.745 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4245, allocations: 8 kB / 0.745 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4245, allocations: 0 / 0.745 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4245, allocations: 0 / 0.745 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.955e-05/0.4245, allocations: 4 kB / 0.745 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4245, allocations: 3.938 kB / 0.745 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.4246, allocations: 4 kB / 0.745 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4246, allocations: 11.98 kB / 0.7451 GB, free: 9.516 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 9.616e-05/0.4247, allocations: 113.8 kB / 0.7452 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4247, allocations: 3.938 kB / 0.7452 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.4248, allocations: 124.3 kB / 0.7453 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.333e-05/0.4249, allocations: 184.2 kB / 0.7455 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001016/0.425, allocations: 180.3 kB / 0.7456 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.274e-05/0.4251, allocations: 176.3 kB / 0.7458 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.4254, allocations: 364.7 kB / 0.7462 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-05/0.4254, allocations: 105 kB / 0.7463 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.4255, allocations: 112.9 kB / 0.7464 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.955e-05/0.4256, allocations: 176.4 kB / 0.7465 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.691e-05/0.4257, allocations: 184.3 kB / 0.7467 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001092/0.4258, allocations: 188.2 kB / 0.7469 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.193e-05/0.4259, allocations: 180.2 kB / 0.7471 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.4261, allocations: 307.7 kB / 0.7473 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.4261, allocations: 108.9 kB / 0.7475 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.4262, allocations: 184.2 kB / 0.7476 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.4264, allocations: 105 kB / 0.7477 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.4265, allocations: 180.2 kB / 0.7479 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.4266, allocations: 105 kB / 0.748 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.4266, allocations: 91.27 kB / 0.7481 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4266, allocations: 0 / 0.7481 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003315/0.427, allocations: 39.81 kB / 0.7481 GB, free: 6.191 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.0003384/0.4273, allocations: 230.3 kB / 0.7483 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.4274, allocations: 11.94 kB / 0.7484 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4274, allocations: 0 / 0.7484 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.4274, allocations: 0 / 0.7484 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.428, allocations: 463.6 kB / 0.7488 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.4283, allocations: 186 kB / 0.749 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.107e-05/0.4284, allocations: 63.28 kB / 0.749 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.4284, allocations: 8.125 kB / 0.749 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.4285, allocations: 12.5 kB / 0.7491 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.4285, allocations: 0 / 0.7491 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of Templates: time 0.004224/0.4327, allocations: 1.263 MB / 0.7503 GB, free: 3.98 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.897269217297435] Failed to read output from testmodel.py, exit status != 0: 0.4416330121457577 0.45693938500000003 0.031671926 Calling exit ...