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.00785/0.007851, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001176/0.001176, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.14 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 80.2 MB / 0.6593 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006199/0.1621, allocations: 4.056 MB / 0.6632 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1649, allocations: 2.426 MB / 0.6656 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.165, allocations: 4 kB / 0.6656 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1654, allocations: 47.67 kB / 0.6656 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1657, allocations: 103.3 kB / 0.6657 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1673, allocations: 0.5305 MB / 0.6663 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1677, allocations: 267.8 kB / 0.6665 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.1678, allocations: 9.562 kB / 0.6665 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.168, allocations: 119.6 kB / 0.6666 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1682, allocations: 95.59 kB / 0.6667 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1683, allocations: 8 kB / 0.6667 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.1692, allocations: 459.3 kB / 0.6672 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.1693, allocations: 39.84 kB / 0.6672 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1694, allocations: 79.64 kB / 0.6673 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.1702, allocations: 414.6 kB / 0.6677 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1702, allocations: 0 / 0.6677 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1702, allocations: 0 / 0.6677 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.1702, allocations: 0 / 0.6677 GB, free: 5.309 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.0008199/0.1711, allocations: 0.507 MB / 0.6682 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1711, allocations: 12.03 kB / 0.6682 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.1712, allocations: 46.73 kB / 0.6682 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.1731, allocations: 176.6 kB / 0.6684 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1734, allocations: 216.1 kB / 0.6686 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.1735, allocations: 12.7 kB / 0.6686 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.1735, allocations: 16.31 kB / 0.6686 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000589/0.1741, allocations: 312.8 kB / 0.6689 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1741, allocations: 0 / 0.6689 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.1742, allocations: 12 kB / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1742, allocations: 4 kB / 0.6689 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.1749, allocations: 263.6 kB / 0.6692 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1764, allocations: 1.389 MB / 0.6706 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.177, allocations: 190.8 kB / 0.6707 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1773, allocations: 84.72 kB / 0.6708 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1773, allocations: 3.984 kB / 0.6708 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1773, allocations: 42.5 kB / 0.6709 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1773, allocations: 3.938 kB / 0.6709 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007502/0.1781, allocations: 239.2 kB / 0.6711 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1781, allocations: 55.41 kB / 0.6711 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1783, allocations: 162.2 kB / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1783, allocations: 29.7 kB / 0.6713 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.1784, allocations: 132 kB / 0.6715 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1784, allocations: 59.11 kB / 0.6715 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.1785, allocations: 53.92 kB / 0.6716 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.1786, allocations: 330.8 kB / 0.6719 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1788, allocations: 64.42 kB / 0.6719 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1791, allocations: 144.6 kB / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.1795, allocations: 209.3 kB / 0.6723 GB, free: 216 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1795, allocations: 4 kB / 0.6723 GB, free: 212 kB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005769/0.1801, allocations: 254.8 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1801, allocations: 8 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1801, allocations: 4 kB / 0.6725 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1802, allocations: 4.312 kB / 0.6725 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.1805, allocations: 63.89 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1805, allocations: 4 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.1808, allocations: 35.67 kB / 0.6726 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.1808, allocations: 11.98 kB / 0.6726 GB, free: 15.82 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.0001198/0.1809, allocations: 133.7 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.181, allocations: 11.91 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.1816, allocations: 234.6 kB / 0.673 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1816, allocations: 4 kB / 0.673 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1816, allocations: 0 / 0.673 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.1816, allocations: 0 / 0.673 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1819, allocations: 249.3 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1819, allocations: 0 / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.1822, allocations: 43.97 kB / 0.6733 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1822, allocations: 7.938 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1823, allocations: 3.984 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1823, allocations: 4 kB / 0.6733 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1823, allocations: 0 / 0.6733 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.1828, allocations: 305.3 kB / 0.6736 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1829, allocations: 108.9 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.183, allocations: 4 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.1832, allocations: 19.98 kB / 0.6737 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.1833, allocations: 7.984 kB / 0.6737 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1833, allocations: 15.98 kB / 0.6737 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.893e-05/0.1834, allocations: 114.9 kB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1834, allocations: 0 / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003654/0.1838, allocations: 68.06 kB / 0.6739 GB, free: 14.42 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.0008605/0.1846, allocations: 0.8632 MB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.1852, allocations: 179.7 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1852, allocations: 0 / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.1854, allocations: 92.52 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1858, allocations: 55.44 kB / 0.6751 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.1888, allocations: 2.154 MB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1891, allocations: 0.7173 MB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.1894, allocations: 53.86 kB / 0.6779 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1895, allocations: 51.41 kB / 0.678 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1895, allocations: 0 / 0.678 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.2123, allocations: 5.185 MB / 0.683 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.721, allocations: 8.656 kB / 0.6831 GB, free: 5.109 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)