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.0008075/0.0008072, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007991/0.007991, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9734/0.9734, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003399, allocations: 8 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004368/0.1693, allocations: 3.725 MB / 0.5917 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.172, allocations: 2.43 MB / 0.5941 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1721, allocations: 0 / 0.5941 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1724, allocations: 39.75 kB / 0.5941 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1727, allocations: 95.47 kB / 0.5942 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1741, allocations: 481.6 kB / 0.5947 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.1745, allocations: 331.8 kB / 0.595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.1745, allocations: 17.55 kB / 0.595 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.1748, allocations: 115.5 kB / 0.5951 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1749, allocations: 95.59 kB / 0.5952 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.175, allocations: 8 kB / 0.5952 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008603/0.1758, allocations: 459.1 kB / 0.5957 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.1759, allocations: 43.88 kB / 0.5957 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1761, allocations: 109.2 kB / 0.5958 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007851/0.1769, allocations: 407.2 kB / 0.5962 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1769, allocations: 0 / 0.5962 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1769, allocations: 4 kB / 0.5962 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1769, allocations: 0 / 0.5962 GB, free: 10.15 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.0007224/0.1776, allocations: 487.2 kB / 0.5967 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1777, allocations: 12.03 kB / 0.5967 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.1777, allocations: 46.73 kB / 0.5967 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.1797, allocations: 188.5 kB / 0.5969 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1799, allocations: 204.2 kB / 0.5971 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.18, allocations: 12.7 kB / 0.5971 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.18, allocations: 12.38 kB / 0.5971 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.1806, allocations: 304.2 kB / 0.5974 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1807, allocations: 3.938 kB / 0.5974 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.1807, allocations: 12 kB / 0.5974 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.1807, allocations: 11.98 kB / 0.5974 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.1814, allocations: 255.6 kB / 0.5977 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.183, allocations: 1.4 MB / 0.599 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.1836, allocations: 190.5 kB / 0.5992 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.1839, allocations: 79.16 kB / 0.5993 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.184, allocations: 4 kB / 0.5993 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.184, allocations: 34.56 kB / 0.5993 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.184, allocations: 4 kB / 0.5993 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007652/0.1848, allocations: 241.3 kB / 0.5996 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.1848, allocations: 55.41 kB / 0.5996 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.185, allocations: 161.4 kB / 0.5998 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.1851, allocations: 25.7 kB / 0.5998 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.1851, allocations: 143.9 kB / 0.5999 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.1852, allocations: 59.11 kB / 0.6 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1852, allocations: 21.7 kB / 0.6 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1854, allocations: 330.8 kB / 0.6003 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.1856, allocations: 64.42 kB / 0.6004 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1859, allocations: 140 kB / 0.6005 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.1864, allocations: 219.9 kB / 0.6007 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1864, allocations: 0 / 0.6007 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006134/0.187, allocations: 245.5 kB / 0.601 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.187, allocations: 12.03 kB / 0.601 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.187, allocations: 0 / 0.601 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1871, allocations: 11.88 kB / 0.601 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.1874, allocations: 59.95 kB / 0.601 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.1874, allocations: 7.938 kB / 0.6011 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.1877, allocations: 35.67 kB / 0.6011 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.1878, allocations: 15.98 kB / 0.6011 GB, free: 4.73 MB / 0.4981 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.0001264/0.1879, allocations: 138.3 kB / 0.6012 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.188, allocations: 19.8 kB / 0.6013 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.1886, allocations: 228.7 kB / 0.6015 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1886, allocations: 4 kB / 0.6015 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1886, allocations: 4 kB / 0.6015 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1886, allocations: 0 / 0.6015 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1889, allocations: 245.6 kB / 0.6017 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1889, allocations: 0 / 0.6017 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.1892, allocations: 51.91 kB / 0.6018 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1893, allocations: 0 / 0.6018 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1893, allocations: 7.984 kB / 0.6018 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1893, allocations: 0 / 0.6018 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1893, allocations: 4 kB / 0.6018 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.1898, allocations: 291.2 kB / 0.6021 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.1899, allocations: 101 kB / 0.6021 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.19, allocations: 7.938 kB / 0.6022 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.1903, allocations: 27.88 kB / 0.6022 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.1903, allocations: 11.98 kB / 0.6022 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1903, allocations: 8 kB / 0.6022 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.1904, allocations: 118.9 kB / 0.6023 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1904, allocations: 4 kB / 0.6023 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003657/0.1908, allocations: 64.06 kB / 0.6024 GB, free: 3.328 MB / 0.4981 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.0008792/0.1917, allocations: 0.8624 MB / 0.6032 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.1922, allocations: 187.9 kB / 0.6034 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1922, allocations: 0 / 0.6034 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.1924, allocations: 93.94 kB / 0.6035 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.193, allocations: 67.36 kB / 0.6036 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2557/0.4487, allocations: 2.231 MB / 0.6057 GB, free: 47.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.4489, allocations: 0.7149 MB / 0.6064 GB, free: 47.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000416/0.4493, allocations: 55.25 kB / 0.6065 GB, free: 47.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4494, allocations: 48.91 kB / 0.6065 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.4494, allocations: 0.9375 kB / 0.6065 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.6501, allocations: 4.805 MB / 0.6112 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.6503, allocations: 229.4 kB / 0.6114 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.695, allocations: 0 / 0.6114 GB, free: 46.73 MB / 0.4981 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)