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.00129/0.00129, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00144/0.00144, allocations: 215.4 kB / 22.25 MB, free: 5.129 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.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.002558/0.002558, allocations: 272 kB / 312.7 MB, free: 2.836 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.437/1.437, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 178] 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: 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.003011/0.003011, allocations: 102 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2256, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00557/0.2312, allocations: 3.398 MB / 0.8361 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.2313, allocations: 59.78 kB / 0.8361 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.2313, allocations: 0 / 0.8361 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.2315, allocations: 11.94 kB / 0.8361 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-05/0.2315, allocations: 11.91 kB / 0.8361 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.2322, allocations: 193.5 kB / 0.8363 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.2323, allocations: 35.84 kB / 0.8364 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.2323, allocations: 4 kB / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.2324, allocations: 8 kB / 0.8364 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.2325, allocations: 23.91 kB / 0.8364 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2325, allocations: 0 / 0.8364 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.2329, allocations: 187.5 kB / 0.8366 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.2329, allocations: 11.97 kB / 0.8366 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.233, allocations: 8 kB / 0.8366 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.2333, allocations: 135.9 kB / 0.8367 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.2333, allocations: 0 / 0.8367 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2333, allocations: 0 / 0.8367 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2333, allocations: 4 kB / 0.8367 GB, free: 4.543 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.0004453/0.2337, allocations: 274.2 kB / 0.837 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2338, allocations: 9.938 kB / 0.837 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.2338, allocations: 38.73 kB / 0.837 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2339, allocations: 4.938 kB / 0.837 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.234, allocations: 106.5 kB / 0.8371 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.2341, allocations: 59.97 kB / 0.8372 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2341, allocations: 4.125 kB / 0.8372 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.2342, allocations: 49.61 kB / 0.8372 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2342, allocations: 0 / 0.8372 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2342, allocations: 4 kB / 0.8372 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.2343, allocations: 4 kB / 0.8372 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.2343, allocations: 15.92 kB / 0.8373 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.2349, allocations: 264 kB / 0.8375 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.2349, allocations: 14.58 kB / 0.8375 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.2349, allocations: 8.922 kB / 0.8375 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.235, allocations: 39.95 kB / 0.8376 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.2351, allocations: 30.56 kB / 0.8376 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.2351, allocations: 0 / 0.8376 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.2353, allocations: 41.64 kB / 0.8376 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2353, allocations: 51.41 kB / 0.8377 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.2354, allocations: 101.8 kB / 0.8378 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.2354, allocations: 25.7 kB / 0.8378 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.2355, allocations: 88.09 kB / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.2355, allocations: 15.83 kB / 0.8379 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.2355, allocations: 17.7 kB / 0.8379 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2357, allocations: 318.8 kB / 0.8382 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.2357, allocations: 4.125 kB / 0.8382 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.2357, allocations: 17.7 kB / 0.8383 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.2358, allocations: 25.66 kB / 0.8383 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2358, allocations: 0 / 0.8383 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.244e-05/0.2358, allocations: 45.69 kB / 0.8383 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2359, allocations: 8 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2359, allocations: 4.062 kB / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2359, allocations: 3.938 kB / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.2359, allocations: 4 kB / 0.8383 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2359, allocations: 4 kB / 0.8383 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.236, allocations: 0 / 0.8383 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.236, allocations: 3.938 kB / 0.8384 GB, free: 2.656 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.687e-05/0.2361, allocations: 113.8 kB / 0.8385 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.2361, allocations: 3.984 kB / 0.8385 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.2362, allocations: 121 kB / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-05/0.2363, allocations: 184.2 kB / 0.8388 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-05/0.2364, allocations: 180.2 kB / 0.8389 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.912e-05/0.2365, allocations: 184.3 kB / 0.8391 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.2367, allocations: 388.2 kB / 0.8395 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/0.2368, allocations: 105 kB / 0.8396 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2368, allocations: 104.9 kB / 0.8397 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.2369, allocations: 176.3 kB / 0.8398 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.184e-05/0.237, allocations: 188.2 kB / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-05/0.2371, allocations: 180.2 kB / 0.8402 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.991e-05/0.2371, allocations: 180.2 kB / 0.8404 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2373, allocations: 307.8 kB / 0.8407 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.2374, allocations: 108.9 kB / 0.8408 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.2375, allocations: 180.2 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2376, allocations: 112.9 kB / 0.841 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.2377, allocations: 180.3 kB / 0.8412 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.2378, allocations: 109 kB / 0.8413 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.2378, allocations: 83.28 kB / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2378, allocations: 0 / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002941/0.2381, allocations: 39.81 kB / 0.8414 GB, free: 15.3 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.0006414/0.2388, allocations: 0.8685 MB / 0.8423 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.2388, allocations: 8 kB / 0.8423 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2389, allocations: 0 / 0.8423 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.2389, allocations: 7.875 kB / 0.8423 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.2394, allocations: 466.5 kB / 0.8427 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.2406, allocations: 1.342 MB / 0.8441 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.2409, allocations: 0.6768 MB / 0.8447 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.241, allocations: 6.609 kB / 0.8447 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.241, allocations: 7.438 kB / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.241, allocations: 0 / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.271, allocations: 2.236 MB / 0.8469 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.92, allocations: 17.91 kB / 0.8469 GB, free: 9.719 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.669142683997052] Failed to read output from testmodel.py, exit status != 0: 11.024623373003124 11.057353532 10.818072403 Calling exit ...