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.007055/0.007055, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001508/0.001508, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.486/1.486, 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.8445/0.8445, allocations: 135.6 MB / 426.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 68.33 kB / 0.5858 GB, free: 21.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1611, allocations: 81.02 MB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006079/0.1673, allocations: 4.06 MB / 0.6689 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.1705, allocations: 2.434 MB / 0.6713 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.1706, allocations: 0 / 0.6713 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1709, allocations: 43.69 kB / 0.6713 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.1712, allocations: 103.3 kB / 0.6714 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1726, allocations: 0.5125 MB / 0.6719 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.1729, allocations: 259.9 kB / 0.6722 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.173, allocations: 17.55 kB / 0.6722 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1732, allocations: 115.6 kB / 0.6723 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1734, allocations: 95.64 kB / 0.6724 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1734, allocations: 11.94 kB / 0.6724 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00086/0.1743, allocations: 459.2 kB / 0.6728 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.1744, allocations: 35.88 kB / 0.6729 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1745, allocations: 79.67 kB / 0.6729 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.1752, allocations: 418.9 kB / 0.6733 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1752, allocations: 0 / 0.6733 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1752, allocations: 0 / 0.6733 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.1752, allocations: 3.938 kB / 0.6733 GB, free: 12.93 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.0008307/0.1761, allocations: 0.5181 MB / 0.6738 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1761, allocations: 9.109 kB / 0.6738 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.1762, allocations: 50.73 kB / 0.6739 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.1781, allocations: 176.6 kB / 0.6741 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1785, allocations: 208.2 kB / 0.6743 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1785, allocations: 12.69 kB / 0.6743 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.1786, allocations: 16.38 kB / 0.6743 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.1793, allocations: 308.2 kB / 0.6746 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1793, allocations: 3.938 kB / 0.6746 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.1793, allocations: 12 kB / 0.6746 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.1794, allocations: 4 kB / 0.6746 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.1801, allocations: 263.6 kB / 0.6749 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1819, allocations: 1.381 MB / 0.6762 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.1826, allocations: 193.9 kB / 0.6764 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.1829, allocations: 84.8 kB / 0.6765 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1829, allocations: 7.984 kB / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.183, allocations: 38.5 kB / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.183, allocations: 0 / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008358/0.1838, allocations: 251 kB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1839, allocations: 55.41 kB / 0.6768 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.184, allocations: 154.2 kB / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1841, allocations: 29.7 kB / 0.677 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.1842, allocations: 128.2 kB / 0.6771 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.1843, allocations: 67.42 kB / 0.6772 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.1844, allocations: 49.94 kB / 0.6772 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1845, allocations: 334.8 kB / 0.6775 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1848, allocations: 64.41 kB / 0.6776 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.1851, allocations: 151.2 kB / 0.6777 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.1856, allocations: 213.2 kB / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1856, allocations: 0 / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006477/0.1863, allocations: 251.1 kB / 0.6782 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1863, allocations: 8 kB / 0.6782 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1863, allocations: 0 / 0.6782 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1863, allocations: 4 kB / 0.6782 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.1867, allocations: 72.2 kB / 0.6783 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1867, allocations: 8 kB / 0.6783 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.187, allocations: 35.77 kB / 0.6783 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.187, allocations: 8 kB / 0.6783 GB, free: 7.434 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.0001354/0.1871, allocations: 129.7 kB / 0.6784 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.1872, allocations: 23.89 kB / 0.6785 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.1879, allocations: 225 kB / 0.6787 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1879, allocations: 7.938 kB / 0.6787 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1879, allocations: 4 kB / 0.6787 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.1879, allocations: 3.984 kB / 0.6787 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.1883, allocations: 249.2 kB / 0.6789 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1883, allocations: 4 kB / 0.6789 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.1886, allocations: 47.95 kB / 0.679 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1886, allocations: 0 / 0.679 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1886, allocations: 4 kB / 0.679 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1886, allocations: 0 / 0.679 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1886, allocations: 4 kB / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.1893, allocations: 299.2 kB / 0.6793 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1894, allocations: 105 kB / 0.6794 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1894, allocations: 0 / 0.6794 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.1897, allocations: 23.98 kB / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1898, allocations: 7.984 kB / 0.6794 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.1898, allocations: 12 kB / 0.6794 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.86e-05/0.1899, allocations: 114.9 kB / 0.6795 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1899, allocations: 0 / 0.6795 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003726/0.1903, allocations: 71.88 kB / 0.6796 GB, free: 6.027 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.001049/0.1913, allocations: 0.859 MB / 0.6804 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.1919, allocations: 179.8 kB / 0.6806 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.1919, allocations: 0 / 0.6806 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.1922, allocations: 92.5 kB / 0.6807 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.1927, allocations: 61.8 kB / 0.6807 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.1962, allocations: 2.175 MB / 0.6829 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1967, allocations: 0.7173 MB / 0.6836 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003214/0.197, allocations: 57.91 kB / 0.6836 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.1971, allocations: 43.42 kB / 0.6837 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.1971, allocations: 0 / 0.6837 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.226, allocations: 5.192 MB / 0.6887 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/8.857, allocations: 15.25 kB / 0.6888 GB, free: 12.62 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)