Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005154/0.005154, allocations: 98.25 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 196 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7571/0.7571, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 63.52 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1626, allocations: 80.21 MB / 0.6593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005187/0.1678, allocations: 4.048 MB / 0.6632 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.1705, allocations: 2.426 MB / 0.6656 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1705, allocations: 4 kB / 0.6656 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1708, allocations: 47.66 kB / 0.6656 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.171, allocations: 103.3 kB / 0.6657 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1721, allocations: 0.5149 MB / 0.6662 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1724, allocations: 259.8 kB / 0.6665 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1724, allocations: 10.97 kB / 0.6665 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1726, allocations: 127.4 kB / 0.6666 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1728, allocations: 99.66 kB / 0.6667 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1728, allocations: 8 kB / 0.6667 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.1736, allocations: 455.2 kB / 0.6672 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1736, allocations: 39.89 kB / 0.6672 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.1737, allocations: 83.64 kB / 0.6673 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.1743, allocations: 411 kB / 0.6677 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1744, allocations: 0 / 0.6677 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1744, allocations: 4 kB / 0.6677 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1744, allocations: 0 / 0.6677 GB, free: 5.258 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000705/0.1751, allocations: 0.518 MB / 0.6682 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1751, allocations: 8.031 kB / 0.6682 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.1752, allocations: 54.73 kB / 0.6682 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.177, allocations: 172.6 kB / 0.6684 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1773, allocations: 212.2 kB / 0.6686 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1773, allocations: 12.7 kB / 0.6686 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1773, allocations: 16.38 kB / 0.6686 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.178, allocations: 308.8 kB / 0.6689 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.178, allocations: 0 / 0.6689 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.178, allocations: 8 kB / 0.6689 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.1781, allocations: 11.98 kB / 0.6689 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.1788, allocations: 263.5 kB / 0.6692 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.1811, allocations: 1.385 MB / 0.6705 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1822, allocations: 194.6 kB / 0.6707 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.1826, allocations: 80.81 kB / 0.6708 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.1826, allocations: 11.98 kB / 0.6708 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1827, allocations: 30.56 kB / 0.6708 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.1827, allocations: 0 / 0.6708 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001227/0.1839, allocations: 251.9 kB / 0.6711 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.184, allocations: 55.34 kB / 0.6711 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1842, allocations: 165.7 kB / 0.6713 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.1842, allocations: 29.7 kB / 0.6713 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1844, allocations: 132.2 kB / 0.6715 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.1844, allocations: 63.44 kB / 0.6715 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1846, allocations: 53.92 kB / 0.6716 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1848, allocations: 326.8 kB / 0.6719 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1851, allocations: 68.42 kB / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.1856, allocations: 136.7 kB / 0.6721 GB, free: 404 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.1863, allocations: 217.2 kB / 0.6723 GB, free: 152 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1864, allocations: 3.938 kB / 0.6723 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009621/0.1873, allocations: 255 kB / 0.6725 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1874, allocations: 4 kB / 0.6725 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1874, allocations: 4 kB / 0.6725 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1874, allocations: 4 kB / 0.6725 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.1879, allocations: 72.2 kB / 0.6726 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.188, allocations: 7.938 kB / 0.6726 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.1883, allocations: 31.77 kB / 0.6726 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1884, allocations: 15.98 kB / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001629/0.1886, allocations: 129.7 kB / 0.6728 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.1887, allocations: 15.91 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009592/0.1896, allocations: 229.2 kB / 0.673 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1896, allocations: 4 kB / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1897, allocations: 0 / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1897, allocations: 0 / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.1901, allocations: 261.4 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1901, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.1906, allocations: 47.91 kB / 0.6733 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1906, allocations: 0 / 0.6733 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.1907, allocations: 7.984 kB / 0.6733 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1907, allocations: 4 kB / 0.6733 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1907, allocations: 0 / 0.6733 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009053/0.1916, allocations: 299.3 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1918, allocations: 97.03 kB / 0.6737 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.1918, allocations: 4 kB / 0.6737 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.1923, allocations: 23.98 kB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1923, allocations: 15.94 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.1924, allocations: 11.98 kB / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001239/0.1925, allocations: 111.2 kB / 0.6739 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1925, allocations: 4 kB / 0.6739 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006072/0.1931, allocations: 59.94 kB / 0.6739 GB, free: 14.36 MB / 0.5137 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 (20): * Single equations (assignments): 20 * 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.001437/0.1946, allocations: 0.8708 MB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.1954, allocations: 179.7 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1954, allocations: 4 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.1958, allocations: 80.52 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.1966, allocations: 69.39 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.2013, allocations: 2.155 MB / 0.6772 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2017, allocations: 0.7173 MB / 0.6779 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.2021, allocations: 53.92 kB / 0.6779 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.2023, allocations: 49.53 kB / 0.678 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.2023, allocations: 3.938 kB / 0.678 GB, free: 10 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4555/0.6578, allocations: 5.18 MB / 0.6831 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.223, allocations: 12.33 kB / 0.6831 GB, free: 5.035 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)