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.001248/0.001248, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001433/0.001433, allocations: 210.6 kB / 22.24 MB, free: 5.262 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.785 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.002461/0.002461, allocations: 285.5 kB / 312.7 MB, free: 2.586 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.173/1.173, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.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: "" <> 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.002879/0.002879, allocations: 110.9 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1754, allocations: 95.39 MB / 0.8327 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005366/0.1808, allocations: 3.226 MB / 0.8358 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.1809, allocations: 55.86 kB / 0.8359 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.1809, allocations: 4 kB / 0.8359 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.181, allocations: 3.938 kB / 0.8359 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.1811, allocations: 11.97 kB / 0.8359 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1817, allocations: 196.3 kB / 0.8361 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.1817, allocations: 31.84 kB / 0.8361 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.1818, allocations: 4 kB / 0.8361 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.1818, allocations: 19.92 kB / 0.8361 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.1819, allocations: 15.98 kB / 0.8361 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1819, allocations: 0 / 0.8361 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.1822, allocations: 131.5 kB / 0.8363 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1823, allocations: 7.969 kB / 0.8363 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.1823, allocations: 11.94 kB / 0.8363 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1825, allocations: 124 kB / 0.8364 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1825, allocations: 0 / 0.8364 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1825, allocations: 3.938 kB / 0.8364 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1825, allocations: 0 / 0.8364 GB, free: 4.492 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.0004036/0.183, allocations: 270.2 kB / 0.8367 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.183, allocations: 9.938 kB / 0.8367 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.183, allocations: 38.73 kB / 0.8367 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1831, allocations: 4.938 kB / 0.8367 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1832, allocations: 110.4 kB / 0.8368 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.1833, allocations: 55.97 kB / 0.8369 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1833, allocations: 8.125 kB / 0.8369 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1834, allocations: 63.39 kB / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1834, allocations: 4 kB / 0.8369 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1834, allocations: 0 / 0.8369 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1834, allocations: 4 kB / 0.8369 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.1835, allocations: 19.97 kB / 0.837 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.184, allocations: 260 kB / 0.8372 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.1841, allocations: 22.52 kB / 0.8372 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.1841, allocations: 4.859 kB / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.1842, allocations: 40.02 kB / 0.8373 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1842, allocations: 30.56 kB / 0.8373 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1842, allocations: 7.938 kB / 0.8373 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.1844, allocations: 37.62 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1844, allocations: 51.41 kB / 0.8374 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.1845, allocations: 110 kB / 0.8375 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1845, allocations: 25.7 kB / 0.8375 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.1846, allocations: 91.97 kB / 0.8376 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-06/0.1846, allocations: 7.953 kB / 0.8376 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1846, allocations: 17.72 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1848, allocations: 318.8 kB / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.1848, allocations: 0 / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.1848, allocations: 21.72 kB / 0.838 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.1848, allocations: 17.66 kB / 0.838 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1848, allocations: 4 kB / 0.838 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.706e-05/0.1849, allocations: 49.69 kB / 0.838 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1849, allocations: 5.875 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1849, allocations: 0 / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1849, allocations: 0 / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.185, allocations: 11.98 kB / 0.838 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.185, allocations: 3.938 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.185, allocations: 0 / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.185, allocations: 0 / 0.838 GB, free: 2.582 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 8.262e-05/0.1851, allocations: 117.8 kB / 0.8382 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1851, allocations: 4.062 kB / 0.8382 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1852, allocations: 120.9 kB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-05/0.1853, allocations: 192.2 kB / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-05/0.1854, allocations: 176.3 kB / 0.8386 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-05/0.1855, allocations: 176.3 kB / 0.8388 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1857, allocations: 388.2 kB / 0.8392 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.1858, allocations: 105 kB / 0.8393 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.1858, allocations: 104.9 kB / 0.8394 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.1859, allocations: 180.2 kB / 0.8395 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.186, allocations: 184.3 kB / 0.8397 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-05/0.1861, allocations: 180.2 kB / 0.8399 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-05/0.1861, allocations: 176.3 kB / 0.8401 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.1863, allocations: 315.7 kB / 0.8404 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1864, allocations: 104.9 kB / 0.8405 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.1865, allocations: 184.3 kB / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1866, allocations: 109 kB / 0.8407 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.1867, allocations: 184.2 kB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.1868, allocations: 105 kB / 0.841 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.1868, allocations: 83.28 kB / 0.8411 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1868, allocations: 3.938 kB / 0.8411 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002762/0.1871, allocations: 47.73 kB / 0.8411 GB, free: 15.21 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.0006128/0.1877, allocations: 0.8634 MB / 0.842 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.1878, allocations: 19.98 kB / 0.842 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1878, allocations: 0 / 0.842 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1878, allocations: 0 / 0.842 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1883, allocations: 459.6 kB / 0.8424 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1895, allocations: 1.346 MB / 0.8438 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.1895, allocations: 55.36 kB / 0.8438 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.1896, allocations: 17.98 kB / 0.8438 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.1896, allocations: 11.44 kB / 0.8438 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1896, allocations: 0 / 0.8438 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2172, allocations: 2.685 MB / 0.8465 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.93, allocations: 7.109 kB / 0.8465 GB, free: 9.816 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.0133277149871] Failed to read output from testmodel.py, exit status != 0: 11.035190736874938 11.057766296 10.87197345 Calling exit ...