Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00514/1.087, allocations: 3.325 MB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/1.087, allocations: 57.55 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/1.087, allocations: 4.938 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/1.087, allocations: 3.375 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/1.087, allocations: 11.09 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/1.087, allocations: 198.9 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000106/1.088, allocations: 29.39 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/1.088, allocations: 2.5 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/1.088, allocations: 24.16 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/1.088, allocations: 13.72 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/1.088, allocations: 1.219 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/1.088, allocations: 181 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/1.088, allocations: 4.719 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/1.088, allocations: 9.906 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/1.089, allocations: 140.8 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.089, allocations: 4.781 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/1.089, allocations: 0 / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.69e-06/1.089, allocations: 0.75 kB / 1.275 GB, free: 5.082 MB / 0.9981 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.0003863/1.089, allocations: 343.1 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.089, allocations: 9.562 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/1.089, allocations: 33.33 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/1.089, allocations: 5.875 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/1.089, allocations: 166.4 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/1.089, allocations: 36.45 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/1.089, allocations: 5.188 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/1.089, allocations: 44.33 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.089, allocations: 0 / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.089, allocations: 4.844 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.089, allocations: 0.8125 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/1.089, allocations: 17.02 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/1.09, allocations: 0.5854 MB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/1.09, allocations: 24.17 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/1.09, allocations: 9.641 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/1.09, allocations: 343.7 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/1.09, allocations: 32.58 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.09, allocations: 0 / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/1.09, allocations: 36.77 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/1.09, allocations: 57.72 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/1.09, allocations: 101.9 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/1.09, allocations: 26.42 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/1.09, allocations: 87.16 kB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/1.09, allocations: 4.797 kB / 1.277 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/1.091, allocations: 17.62 kB / 1.277 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/1.091, allocations: 317.2 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/1.091, allocations: 7.578 kB / 1.278 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/1.091, allocations: 18.89 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/1.091, allocations: 21.3 kB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.091, allocations: 0.8125 kB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.475e-05/1.091, allocations: 50.92 kB / 1.278 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.091, allocations: 5.062 kB / 1.278 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.091, allocations: 4.859 kB / 1.278 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.091, allocations: 4.969 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/1.091, allocations: 4.469 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.091, allocations: 2.141 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/1.091, allocations: 1 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/1.091, allocations: 2.375 kB / 1.278 GB, free: 2.516 MB / 0.9981 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 5.11e-05/1.091, allocations: 117.5 kB / 1.278 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/1.091, allocations: 5.219 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/1.091, allocations: 126.1 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.091, allocations: 177.1 kB / 1.278 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/1.091, allocations: 184.4 kB / 1.278 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/1.091, allocations: 181.3 kB / 1.279 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/1.091, allocations: 406 kB / 1.279 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.091, allocations: 102.6 kB / 1.279 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/1.091, allocations: 107.3 kB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.327e-05/1.091, allocations: 185.1 kB / 1.279 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/1.091, allocations: 179 kB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.531e-05/1.092, allocations: 181.5 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-05/1.092, allocations: 191.2 kB / 1.28 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/1.092, allocations: 316 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/1.092, allocations: 179.8 kB / 1.28 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.092, allocations: 185.5 kB / 1.28 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/1.092, allocations: 109.9 kB / 1.281 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/1.092, allocations: 180.9 kB / 1.281 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/1.092, allocations: 110.2 kB / 1.281 GB, free: 15.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.003e-05/1.092, allocations: 83.48 kB / 1.281 GB, free: 15.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.092, allocations: 0 / 1.281 GB, free: 15.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003349/1.093, allocations: 40.27 kB / 1.281 GB, free: 15.1 MB / 1.014 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.0006645/1.093, allocations: 0.8648 MB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.555e-05/1.093, allocations: 11.64 kB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.093, allocations: 4.125 kB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/1.093, allocations: 0.875 kB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/1.094, allocations: 459.8 kB / 1.282 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.095, allocations: 1.349 MB / 1.284 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/1.096, allocations: 0.6737 MB / 1.284 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.769e-05/1.096, allocations: 6.328 kB / 1.284 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/1.096, allocations: 13.59 kB / 1.284 GB, free: 11.76 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.096, allocations: 0 / 1.284 GB, free: 11.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/1.122, allocations: 2.12 MB / 1.286 GB, free: 11.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/9.423, allocations: 10.23 kB / 1.286 GB, free: 11.27 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.327479724015575] Failed to read output from testmodel.py, exit status != 0: 9.493453925999347 9.518435621 8.424486285 Calling exit ...