Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001094/0.001094, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001382/0.001382, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9904/0.9904, allocations: 135.3 MB / 426.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 13.47 kB / 0.5071 GB, free: 4.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1797, allocations: 82.31 MB / 0.5875 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001482/0.1812, allocations: 1.12 MB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004088/0.1817, allocations: 185.3 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.1817, allocations: 7.938 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1817, allocations: 0 / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.1818, allocations: 4 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.182, allocations: 23.89 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.182, allocations: 15.94 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.1821, allocations: 7.984 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.1821, allocations: 7.938 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.1822, allocations: 7.984 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1822, allocations: 8 kB / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.1823, allocations: 23.98 kB / 0.5888 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1823, allocations: 7.922 kB / 0.5888 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.1824, allocations: 33.64 kB / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.062e-05/0.1825, allocations: 24.19 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1825, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1825, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1825, allocations: 4 kB / 0.5889 GB, free: 1.359 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004538/0.1829, allocations: 343.3 kB / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.183, allocations: 8.031 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.183, allocations: 34.56 kB / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.1831, allocations: 3.984 kB / 0.5893 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1833, allocations: 171 kB / 0.5894 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1833, allocations: 0 / 0.5894 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.1833, allocations: 0 / 0.5894 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1835, allocations: 61.61 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1835, allocations: 0 / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1836, allocations: 0 / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1836, allocations: 3.984 kB / 0.5895 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.1837, allocations: 47.95 kB / 0.5895 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1841, allocations: 248.9 kB / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1842, allocations: 38.56 kB / 0.5898 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.1843, allocations: 44.77 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.1843, allocations: 0 / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1844, allocations: 30.56 kB / 0.5899 GB, free: 176 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1844, allocations: 0 / 0.5899 GB, free: 176 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003218/0.1847, allocations: 101.5 kB / 0.59 GB, free: 68 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1847, allocations: 55.41 kB / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.1848, allocations: 97.81 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1848, allocations: 25.7 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.1849, allocations: 88.12 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1849, allocations: 3.906 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.1849, allocations: 8.125 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.185, allocations: 310.8 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.1851, allocations: 23.92 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.1852, allocations: 27.91 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.1853, allocations: 24.05 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1853, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.1855, allocations: 77.66 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1855, allocations: 8.031 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1855, allocations: 4 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1855, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.1856, allocations: 8 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1856, allocations: 3.984 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1857, allocations: 11.95 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1857, allocations: 3.984 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.1858, allocations: 117.8 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1858, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.186, allocations: 88.7 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1861, allocations: 4 kB / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1861, allocations: 0 / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1861, allocations: 4 kB / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1862, allocations: 161.6 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1862, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.1863, allocations: 11.98 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1863, allocations: 4 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1863, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1863, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1863, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1866, allocations: 187.3 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.1866, allocations: 77.11 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1867, allocations: 0 / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1867, allocations: 15.98 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1868, allocations: 4 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1868, allocations: 3.938 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.1868, allocations: 83.55 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1868, allocations: 0 / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002096/0.1871, allocations: 4 kB / 0.5915 GB, free: 14.4 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005156/0.1876, allocations: 0.7164 MB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.1878, allocations: 51.95 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1878, allocations: 0 / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.1879, allocations: 27.92 kB / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.1881, allocations: 4 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.1885, allocations: 170.2 kB / 0.5924 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1888, allocations: 0.6809 MB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1888, allocations: 0 / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1889, allocations: 11.44 kB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1889, allocations: 0 / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.2002, allocations: 1.098 MB / 0.5942 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.2005, allocations: 197.3 kB / 0.5943 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.938, allocations: 2.531 kB / 0.5943 GB, free: 11.5 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: