Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001522/0.001522, 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.001884/0.001884, 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8628/0.8628, allocations: 134 MB / 447.2 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00194/0.00194, allocations: 73.84 kB / 0.6192 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 85.91 MB / 0.7031 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005785/0.1812, allocations: 3.235 MB / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.1814, allocations: 51.86 kB / 0.7064 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.1814, allocations: 0 / 0.7064 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.1815, allocations: 7.938 kB / 0.7064 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.1816, allocations: 19.91 kB / 0.7064 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.1822, allocations: 182.8 kB / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.1823, allocations: 43.84 kB / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.1824, allocations: 0 / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.1824, allocations: 12 kB / 0.7066 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.1825, allocations: 23.84 kB / 0.7066 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1825, allocations: 0 / 0.7066 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.1828, allocations: 127.6 kB / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.1829, allocations: 15.97 kB / 0.7068 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1829, allocations: 4 kB / 0.7068 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1832, allocations: 131.9 kB / 0.7069 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1832, allocations: 4 kB / 0.7069 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1832, allocations: 0 / 0.7069 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.1832, allocations: 0 / 0.7069 GB, free: 13.2 MB / 0.5294 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.0004471/0.1836, allocations: 274.2 kB / 0.7072 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.1837, allocations: 12.62 kB / 0.7072 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.1837, allocations: 192 / 0.7072 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1837, allocations: 30.75 kB / 0.7072 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.1838, allocations: 8.875 kB / 0.7072 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1839, allocations: 102.5 kB / 0.7073 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/0.184, allocations: 51.97 kB / 0.7074 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.184, allocations: 7.938 kB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1841, allocations: 75.31 kB / 0.7074 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1841, allocations: 0 / 0.7074 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1842, allocations: 4 kB / 0.7074 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.1842, allocations: 4 kB / 0.7074 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.1842, allocations: 19.92 kB / 0.7075 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1848, allocations: 255.9 kB / 0.7077 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.1848, allocations: 22.58 kB / 0.7077 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.1849, allocations: 4.859 kB / 0.7077 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.185, allocations: 36.02 kB / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.185, allocations: 38.56 kB / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.185, allocations: 0 / 0.7078 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.1852, allocations: 41.62 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1852, allocations: 51.41 kB / 0.7079 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1853, allocations: 105.8 kB / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1853, allocations: 25.7 kB / 0.708 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.1854, allocations: 88.03 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.1854, allocations: 7.984 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1854, allocations: 21.67 kB / 0.7081 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1856, allocations: 314.8 kB / 0.7084 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.1856, allocations: 8 kB / 0.7084 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.1856, allocations: 21.7 kB / 0.7085 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.1857, allocations: 21.78 kB / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1857, allocations: 0 / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.003e-05/0.1857, allocations: 53.62 kB / 0.7085 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1858, allocations: 4 kB / 0.7085 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1858, allocations: 0 / 0.7085 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1858, allocations: 0 / 0.7085 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.1858, allocations: 8 kB / 0.7085 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1858, allocations: 0 / 0.7085 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.1858, allocations: 0 / 0.7085 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1859, allocations: 15.94 kB / 0.7086 GB, free: 11.27 MB / 0.5294 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.998e-05/0.186, allocations: 113.8 kB / 0.7087 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.186, allocations: 0 / 0.7087 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1861, allocations: 119.6 kB / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.507e-05/0.1862, allocations: 184.3 kB / 0.709 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.986e-05/0.1863, allocations: 180.2 kB / 0.7091 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-05/0.1863, allocations: 184.3 kB / 0.7093 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1866, allocations: 380.2 kB / 0.7097 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/0.1866, allocations: 116.9 kB / 0.7098 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.1867, allocations: 105 kB / 0.7099 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.661e-05/0.1868, allocations: 176.3 kB / 0.71 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.048e-05/0.1868, allocations: 184.2 kB / 0.7102 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-05/0.1869, allocations: 176.3 kB / 0.7104 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.2e-05/0.187, allocations: 184.2 kB / 0.7106 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1872, allocations: 315.7 kB / 0.7109 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1872, allocations: 101 kB / 0.711 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1873, allocations: 184.2 kB / 0.7111 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1875, allocations: 104.9 kB / 0.7112 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.1875, allocations: 184.3 kB / 0.7114 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.1876, allocations: 112.9 kB / 0.7115 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.1877, allocations: 91.2 kB / 0.7116 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1877, allocations: 4 kB / 0.7116 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003037/0.188, allocations: 31.88 kB / 0.7116 GB, free: 7.922 MB / 0.5294 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.000624/0.1886, allocations: 0.8594 MB / 0.7125 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.1887, allocations: 15.94 kB / 0.7125 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1887, allocations: 0 / 0.7125 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1887, allocations: 0 / 0.7125 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.1892, allocations: 460.4 kB / 0.7129 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1904, allocations: 1.332 MB / 0.7142 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.1905, allocations: 63.47 kB / 0.7143 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.1905, allocations: 4 kB / 0.7143 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1905, allocations: 11.44 kB / 0.7143 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1905, allocations: 0 / 0.7143 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.2129, allocations: 2.334 MB / 0.7166 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.24, allocations: 8.062 kB / 0.7166 GB, free: 2.895 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.021476817084476] Failed to read output from testmodel.py, exit status != 0: 11.404153996962123 11.424856371 11.238408534 Calling exit ...