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.001264/0.001264, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002451/0.002451, allocations: 282.3 kB / 313.5 MB, free: 2.598 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.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",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.002795/0.002795, allocations: 93.42 kB / 0.7403 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1726, allocations: 95.39 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005446/0.1781, allocations: 3.233 MB / 0.8366 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.1782, allocations: 51.88 kB / 0.8366 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1782, allocations: 0 / 0.8366 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1783, allocations: 11.88 kB / 0.8366 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.1784, allocations: 11.91 kB / 0.8366 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.179, allocations: 195.3 kB / 0.8368 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.1791, allocations: 31.84 kB / 0.8369 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1792, allocations: 4 kB / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.1792, allocations: 15.98 kB / 0.8369 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.1793, allocations: 11.92 kB / 0.8369 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1793, allocations: 4 kB / 0.8369 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1796, allocations: 135.5 kB / 0.837 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1797, allocations: 11.98 kB / 0.837 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1797, allocations: 4 kB / 0.837 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.18, allocations: 127.9 kB / 0.8372 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.18, allocations: 0 / 0.8372 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.18, allocations: 0 / 0.8372 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.18, allocations: 0 / 0.8372 GB, free: 4.445 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.0004299/0.1804, allocations: 272.6 kB / 0.8374 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1804, allocations: 9.938 kB / 0.8374 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.1805, allocations: 192 / 0.8374 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.1805, allocations: 38.69 kB / 0.8375 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1805, allocations: 4.938 kB / 0.8375 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1807, allocations: 114.5 kB / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.1808, allocations: 55.97 kB / 0.8376 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1808, allocations: 3.938 kB / 0.8376 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1809, allocations: 67.39 kB / 0.8377 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1809, allocations: 0 / 0.8377 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1809, allocations: 4 kB / 0.8377 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.181, allocations: 0 / 0.8377 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.181, allocations: 11.98 kB / 0.8377 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.1816, allocations: 267.8 kB / 0.838 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.1816, allocations: 22.58 kB / 0.838 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.1816, allocations: 4.859 kB / 0.838 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1817, allocations: 36.03 kB / 0.838 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.1818, allocations: 38.55 kB / 0.8381 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.1818, allocations: 0 / 0.8381 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.1819, allocations: 45.56 kB / 0.8381 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.182, allocations: 51.41 kB / 0.8382 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.1821, allocations: 97.86 kB / 0.8383 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1821, allocations: 33.69 kB / 0.8383 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1821, allocations: 84.09 kB / 0.8384 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.1822, allocations: 16.02 kB / 0.8384 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1822, allocations: 13.72 kB / 0.8384 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1823, allocations: 318.8 kB / 0.8387 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.1823, allocations: 7.984 kB / 0.8387 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.1824, allocations: 13.72 kB / 0.8387 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.1824, allocations: 21.66 kB / 0.8387 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1824, allocations: 0 / 0.8387 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.229e-05/0.1825, allocations: 49.69 kB / 0.8388 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1825, allocations: 8.062 kB / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1825, allocations: 0 / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1825, allocations: 0 / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1826, allocations: 15.92 kB / 0.8388 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1826, allocations: 0 / 0.8388 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.1826, allocations: 0 / 0.8388 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1826, allocations: 11.94 kB / 0.8388 GB, free: 2.523 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 7.839e-05/0.1827, allocations: 105.8 kB / 0.8389 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1827, allocations: 4 kB / 0.8389 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1828, allocations: 123.4 kB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/0.1829, allocations: 188.2 kB / 0.8392 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.521e-05/0.183, allocations: 176.3 kB / 0.8394 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.633e-05/0.183, allocations: 180.3 kB / 0.8396 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1833, allocations: 388.2 kB / 0.8399 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.1833, allocations: 105 kB / 0.84 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.1834, allocations: 104.9 kB / 0.8401 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.188e-05/0.1835, allocations: 180.3 kB / 0.8403 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-05/0.1835, allocations: 188.2 kB / 0.8405 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/0.1836, allocations: 176.3 kB / 0.8407 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.207e-05/0.1837, allocations: 176.3 kB / 0.8408 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1839, allocations: 319.7 kB / 0.8411 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.1839, allocations: 108.9 kB / 0.8412 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.184, allocations: 180.3 kB / 0.8414 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1842, allocations: 105 kB / 0.8415 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.1843, allocations: 184.2 kB / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.1843, allocations: 109 kB / 0.8418 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.1844, allocations: 87.22 kB / 0.8419 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1844, allocations: 0 / 0.8419 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002996/0.1847, allocations: 39.86 kB / 0.8419 GB, free: 15.17 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.0006083/0.1853, allocations: 0.8631 MB / 0.8427 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.561e-05/0.1854, allocations: 11.98 kB / 0.8428 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1854, allocations: 0 / 0.8428 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1854, allocations: 8.062 kB / 0.8428 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.1858, allocations: 459.7 kB / 0.8432 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.187, allocations: 1.333 MB / 0.8445 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.1871, allocations: 63.34 kB / 0.8446 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.727e-05/0.1871, allocations: 14.23 kB / 0.8446 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1871, allocations: 19.42 kB / 0.8446 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.1871, allocations: 0 / 0.8446 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.21, allocations: 2.341 MB / 0.8469 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.88, allocations: 8.766 kB / 0.8469 GB, free: 10.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.959123556967825] Failed to read output from testmodel.py, exit status != 0: 11.036071134032682 11.052115427 10.869106379 Calling exit ...