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.0008/0.0008, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008909/0.0008909, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8589/0.8589, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 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.001389/0.001389, allocations: 222.6 kB / 259.4 MB, free: 13.01 MB / 250.7 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.6355/0.6355, allocations: 138.4 MB / 454.3 MB, free: 1.637 MB / 362.7 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: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 3.984 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.208e-05, allocations: 3.25 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003448/0.00347, allocations: 3.217 MB / 0.6495 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 8.429e-05/0.003554, allocations: 48.39 kB / 0.6495 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.003579, allocations: 0 / 0.6495 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.003688, allocations: 9.406 kB / 0.6495 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.003762, allocations: 9.266 kB / 0.6495 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.004316, allocations: 201.3 kB / 0.6497 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.004401, allocations: 36 kB / 0.6497 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.004438, allocations: 2.656 kB / 0.6497 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.00449, allocations: 17.48 kB / 0.6498 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.00456, allocations: 15.38 kB / 0.6498 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.004574, allocations: 0.9062 kB / 0.6498 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.004811, allocations: 142.7 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.004858, allocations: 2.781 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.00488, allocations: 13.55 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.005094, allocations: 123.9 kB / 0.65 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005096, allocations: 0 / 0.65 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005098, allocations: 1.344 kB / 0.65 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.005103, allocations: 0 / 0.65 GB, free: 26.19 MB / 0.5105 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.0003166/0.005419, allocations: 274.9 kB / 0.6503 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.005464, allocations: 10.56 kB / 0.6503 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.00549, allocations: 34.73 kB / 0.6504 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.005521, allocations: 3.281 kB / 0.6504 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.723e-05/0.005578, allocations: 118.8 kB / 0.6505 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.00563, allocations: 54.28 kB / 0.6505 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.005638, allocations: 2.031 kB / 0.6505 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.005769, allocations: 68.8 kB / 0.6506 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.005776, allocations: 3.938 kB / 0.6506 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005786, allocations: 1.219 kB / 0.6506 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.005803, allocations: 1.156 kB / 0.6506 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.005839, allocations: 13.02 kB / 0.6506 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.006231, allocations: 260.6 kB / 0.6509 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.746e-05/0.006269, allocations: 28.03 kB / 0.6509 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.00628, allocations: 5.984 kB / 0.6509 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.006346, allocations: 36.94 kB / 0.6509 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.006363, allocations: 32 kB / 0.651 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.006365, allocations: 0 / 0.651 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.006489, allocations: 43.31 kB / 0.651 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.006507, allocations: 52.78 kB / 0.651 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.006553, allocations: 103.7 kB / 0.6511 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.006559, allocations: 29.7 kB / 0.6512 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.006583, allocations: 85.81 kB / 0.6513 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.006587, allocations: 9.516 kB / 0.6513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.00661, allocations: 12.75 kB / 0.6513 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.686e-05/0.006637, allocations: 320.3 kB / 0.6516 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.006649, allocations: 3 kB / 0.6516 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.006665, allocations: 13.12 kB / 0.6516 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.006689, allocations: 24.5 kB / 0.6516 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.006691, allocations: 1.219 kB / 0.6516 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.673e-05/0.006738, allocations: 50.84 kB / 0.6517 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006751, allocations: 10.41 kB / 0.6517 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006756, allocations: 1.5 kB / 0.6517 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006767, allocations: 4 kB / 0.6517 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.006808, allocations: 13.77 kB / 0.6517 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.006814, allocations: 3.984 kB / 0.6517 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.006828, allocations: 1.438 kB / 0.6517 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.006838, allocations: 5.281 kB / 0.6517 GB, free: 24.44 MB / 0.5105 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 3.985e-05/0.006877, allocations: 112.7 kB / 0.6518 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.006892, allocations: 1.375 kB / 0.6518 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.006975, allocations: 133.2 kB / 0.6519 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.006989, allocations: 185.4 kB / 0.6521 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.007006, allocations: 178.5 kB / 0.6523 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.00702, allocations: 177.7 kB / 0.6525 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.598e-05/0.007106, allocations: 383.8 kB / 0.6528 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.007116, allocations: 102.5 kB / 0.6529 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.007126, allocations: 106.3 kB / 0.653 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.007141, allocations: 177.5 kB / 0.6532 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.007159, allocations: 185.2 kB / 0.6534 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/0.007173, allocations: 181.2 kB / 0.6535 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.007186, allocations: 182.7 kB / 0.6537 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.537e-05/0.007241, allocations: 308.8 kB / 0.654 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.007259, allocations: 107.4 kB / 0.6541 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.007288, allocations: 181.2 kB / 0.6543 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.00737, allocations: 108.4 kB / 0.6544 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.007388, allocations: 189.4 kB / 0.6546 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.007395, allocations: 102.1 kB / 0.6547 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.007422, allocations: 85.5 kB / 0.6547 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007422, allocations: 0 / 0.6547 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002181/0.00764, allocations: 35.58 kB / 0.6548 GB, free: 21.15 MB / 0.5105 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.0002748/0.007915, allocations: 0.8724 MB / 0.6556 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.319e-05/0.007978, allocations: 13.23 kB / 0.6556 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.00798, allocations: 1.469 kB / 0.6556 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.007982, allocations: 4 kB / 0.6557 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.008255, allocations: 463.8 kB / 0.6561 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.00881, allocations: 1.345 MB / 0.6574 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.008842, allocations: 55.02 kB / 0.6575 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.008878, allocations: 15.08 kB / 0.6575 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.008901, allocations: 13.62 kB / 0.6575 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.008902, allocations: 0 / 0.6575 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.02611, allocations: 2.844 MB / 0.6603 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.333/6.359, allocations: 7.922 kB / 0.6603 GB, free: 16.69 MB / 0.5105 GB " [Timeout remaining time 654] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.146057137288153] Failed to read output from testmodel.py, exit status != 0: 6.4382388535887 6.444987885 6.438420599 Calling exit ...