Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001195/0.001195, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009743/0.0009743, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9345/0.9345, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5651/0.5651, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.371e-05, allocations: 4.672 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004368/0.004392, allocations: 3.207 MB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 8.194e-05/0.004474, allocations: 55.73 kB / 0.5574 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.004499, allocations: 0 / 0.5574 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.004607, allocations: 7.938 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.004681, allocations: 11.97 kB / 0.5574 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.005205, allocations: 198.9 kB / 0.5576 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.005298, allocations: 35.84 kB / 0.5576 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.00534, allocations: 0 / 0.5576 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.005391, allocations: 23.92 kB / 0.5577 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.005464, allocations: 19.97 kB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.005477, allocations: 0 / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.005723, allocations: 135.5 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.005775, allocations: 7.984 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.005796, allocations: 8 kB / 0.5578 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.006006, allocations: 131.6 kB / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006008, allocations: 0 / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.263e-06/0.00601, allocations: 0 / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.006015, allocations: 0 / 0.5579 GB, free: 14.9 MB / 0.5261 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.0003705/0.006385, allocations: 274.2 kB / 0.5582 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.006428, allocations: 12.03 kB / 0.5582 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.006461, allocations: 34.69 kB / 0.5582 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.006493, allocations: 4.891 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.079e-05/0.006574, allocations: 109.7 kB / 0.5584 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.006636, allocations: 51.97 kB / 0.5584 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.006645, allocations: 4.375 kB / 0.5584 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.006771, allocations: 71.94 kB / 0.5585 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.00678, allocations: 3.938 kB / 0.5585 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.006789, allocations: 0 / 0.5585 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.006807, allocations: 8 kB / 0.5585 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.006847, allocations: 19.98 kB / 0.5585 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.007306, allocations: 259.9 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.513e-05/0.007341, allocations: 18.52 kB / 0.5588 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.007356, allocations: 12.92 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.007414, allocations: 35.97 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007436, allocations: 30.56 kB / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.007437, allocations: 0 / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.00756, allocations: 37.8 kB / 0.5589 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.00759, allocations: 59.38 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.00766, allocations: 105.8 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.007671, allocations: 29.7 kB / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.00772, allocations: 84.09 kB / 0.5592 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.007726, allocations: 3.953 kB / 0.5592 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.007755, allocations: 21.7 kB / 0.5592 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.007848, allocations: 310.8 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.007861, allocations: 4 kB / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.007883, allocations: 21.88 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.007915, allocations: 29.66 kB / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007917, allocations: 0 / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.016e-05/0.007967, allocations: 49.62 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.00798, allocations: 8 kB / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.007985, allocations: 0 / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.008001, allocations: 0 / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.008042, allocations: 4 kB / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.008047, allocations: 0 / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.008059, allocations: 4 kB / 0.5596 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.008067, allocations: 64 / 0.5596 GB, free: 12.99 MB / 0.5261 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 6.064e-05/0.008127, allocations: 129.7 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.008142, allocations: 3.953 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.008241, allocations: 114 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/0.008287, allocations: 176.3 kB / 0.56 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-05/0.008335, allocations: 192.1 kB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-05/0.008383, allocations: 180.3 kB / 0.5603 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.008541, allocations: 380.1 kB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.008568, allocations: 105 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.008597, allocations: 112.9 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.601e-05/0.008643, allocations: 180.3 kB / 0.5611 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.008691, allocations: 176.3 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.234e-05/0.008734, allocations: 184.2 kB / 0.5614 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.272e-05/0.008776, allocations: 176.3 kB / 0.5616 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.008885, allocations: 315.7 kB / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.008917, allocations: 105 kB / 0.562 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.00898, allocations: 180.2 kB / 0.5622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.009082, allocations: 113 kB / 0.5623 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.009138, allocations: 180.2 kB / 0.5625 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.009166, allocations: 105 kB / 0.5626 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.009204, allocations: 91.27 kB / 0.5626 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009204, allocations: 0 / 0.5626 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002109/0.009415, allocations: 35.88 kB / 0.5627 GB, free: 9.633 MB / 0.5261 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.0004166/0.009832, allocations: 0.8709 MB / 0.5635 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.111e-05/0.009893, allocations: 8 kB / 0.5635 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009894, allocations: 0 / 0.5635 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.009895, allocations: 0 / 0.5635 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.01043, allocations: 463.7 kB / 0.564 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.01124, allocations: 1.335 MB / 0.5653 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.01129, allocations: 59.34 kB / 0.5653 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.01132, allocations: 10.66 kB / 0.5653 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.01135, allocations: 8.5 kB / 0.5654 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.01135, allocations: 4 kB / 0.5654 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.03071, allocations: 2.845 MB / 0.5681 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.111, allocations: 3.719 kB / 0.5681 GB, free: 4.117 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.768433565273881] Failed to read output from testmodel.py, exit status != 0: 7.193262977525592 7.202030293 7.194297997 Calling exit ...