Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_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.005554/0.005554, allocations: 102 kB / 15.73 MB, free: 6.039 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.001239/0.001239, allocations: 193 kB / 16.67 MB, free: 5.961 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7583/0.7583, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 66.58 kB / 0.5852 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 80.91 MB / 0.6642 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006396/0.1594, allocations: 4.064 MB / 0.6682 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002969/0.1624, allocations: 2.43 MB / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1626, allocations: 4 kB / 0.6706 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.163, allocations: 47.67 kB / 0.6706 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1633, allocations: 95.41 kB / 0.6707 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1647, allocations: 0.5168 MB / 0.6712 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1651, allocations: 271.8 kB / 0.6715 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.1652, allocations: 5.562 kB / 0.6715 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.1655, allocations: 115.6 kB / 0.6716 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1657, allocations: 99.64 kB / 0.6717 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1657, allocations: 12 kB / 0.6717 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.1666, allocations: 451.2 kB / 0.6721 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.1667, allocations: 43.83 kB / 0.6721 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1668, allocations: 83.66 kB / 0.6722 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008037/0.1676, allocations: 418.6 kB / 0.6726 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1677, allocations: 0 / 0.6726 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1677, allocations: 0 / 0.6726 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.1677, allocations: 0 / 0.6726 GB, free: 13.57 MB / 0.5137 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.0008197/0.1685, allocations: 0.5031 MB / 0.6731 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1686, allocations: 9.109 kB / 0.6731 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.1686, allocations: 54.73 kB / 0.6732 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.1706, allocations: 176.6 kB / 0.6733 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1709, allocations: 208.1 kB / 0.6735 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1709, allocations: 16.69 kB / 0.6736 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.171, allocations: 16.38 kB / 0.6736 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.1716, allocations: 300.2 kB / 0.6739 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1717, allocations: 7.938 kB / 0.6739 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1717, allocations: 8 kB / 0.6739 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1717, allocations: 4 kB / 0.6739 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.1725, allocations: 263.6 kB / 0.6741 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1741, allocations: 1.389 MB / 0.6755 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.1748, allocations: 186.8 kB / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.175, allocations: 80.81 kB / 0.6757 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1751, allocations: 7.906 kB / 0.6757 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1751, allocations: 38.55 kB / 0.6758 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 3.086e-06/0.1751, allocations: 0 / 0.6758 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007936/0.1759, allocations: 251.1 kB / 0.676 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.176, allocations: 59.41 kB / 0.6761 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1761, allocations: 161.4 kB / 0.6762 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.1762, allocations: 29.7 kB / 0.6763 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.1762, allocations: 132 kB / 0.6764 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.1763, allocations: 59.19 kB / 0.6764 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.1764, allocations: 57.83 kB / 0.6765 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1765, allocations: 326.8 kB / 0.6768 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.1767, allocations: 68.42 kB / 0.6769 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.177, allocations: 139.2 kB / 0.677 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.1775, allocations: 218.9 kB / 0.6772 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1775, allocations: 0 / 0.6772 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006065/0.1781, allocations: 257 kB / 0.6775 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1781, allocations: 8 kB / 0.6775 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1782, allocations: 0 / 0.6775 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1782, allocations: 4 kB / 0.6775 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.1785, allocations: 64.2 kB / 0.6775 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.1786, allocations: 11.98 kB / 0.6776 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1788, allocations: 27.78 kB / 0.6776 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.1788, allocations: 19.92 kB / 0.6776 GB, free: 8.082 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.0001154/0.1789, allocations: 131 kB / 0.6777 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.179, allocations: 15.81 kB / 0.6777 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.1797, allocations: 226.7 kB / 0.678 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1797, allocations: 0 / 0.678 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1797, allocations: 4 kB / 0.678 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1797, allocations: 4 kB / 0.678 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.18, allocations: 241.4 kB / 0.6782 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.18, allocations: 7.875 kB / 0.6782 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.1803, allocations: 43.97 kB / 0.6782 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1803, allocations: 0 / 0.6782 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1803, allocations: 11.98 kB / 0.6783 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1803, allocations: 0 / 0.6783 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1803, allocations: 0 / 0.6783 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.1809, allocations: 309.5 kB / 0.6785 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.181, allocations: 100.9 kB / 0.6786 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.181, allocations: 4 kB / 0.6786 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.1813, allocations: 19.97 kB / 0.6787 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.1813, allocations: 15.98 kB / 0.6787 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.1814, allocations: 4 kB / 0.6787 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.612e-05/0.1815, allocations: 119.2 kB / 0.6788 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1815, allocations: 0 / 0.6788 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000375/0.1819, allocations: 68.06 kB / 0.6789 GB, free: 6.684 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.0009604/0.1828, allocations: 0.8655 MB / 0.6797 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005474/0.1834, allocations: 185.8 kB / 0.6799 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1834, allocations: 0 / 0.6799 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.1836, allocations: 83.89 kB / 0.68 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1841, allocations: 60.5 kB / 0.68 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.1871, allocations: 2.157 MB / 0.6821 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1874, allocations: 0.7212 MB / 0.6828 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002545/0.1877, allocations: 49.92 kB / 0.6829 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1878, allocations: 51.41 kB / 0.6829 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1878, allocations: 0 / 0.6829 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.2106, allocations: 5.267 MB / 0.6881 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.857, allocations: 12.28 kB / 0.6881 GB, free: 13.23 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)