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.0008396/0.0008396, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004876/0.004876, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 9 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 82.31 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001618/0.1781, allocations: 1.122 MB / 0.5892 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005265/0.1786, allocations: 199.5 kB / 0.5894 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.1787, allocations: 4 kB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.1787, allocations: 0 / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.1788, allocations: 3.938 kB / 0.5894 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.179, allocations: 27.91 kB / 0.5894 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.179, allocations: 23.92 kB / 0.5894 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.1791, allocations: 7.984 kB / 0.5894 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1792, allocations: 4 kB / 0.5894 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.1792, allocations: 15.92 kB / 0.5894 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1792, allocations: 4 kB / 0.5894 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.1793, allocations: 19.98 kB / 0.5895 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.1794, allocations: 4 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1794, allocations: 33.64 kB / 0.5895 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1795, allocations: 44.09 kB / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1795, allocations: 0 / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1795, allocations: 0 / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1795, allocations: 0 / 0.5895 GB, free: 0.9766 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.0004392/0.18, allocations: 339.5 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1801, allocations: 12.03 kB / 0.5899 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.1801, allocations: 34.75 kB / 0.5899 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.1802, allocations: 0.9375 kB / 0.5899 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1803, allocations: 176.2 kB / 0.5901 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1804, allocations: 384 / 0.5901 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1804, allocations: 4.312 kB / 0.5901 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1806, allocations: 58.23 kB / 0.5901 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1806, allocations: 3.938 kB / 0.5901 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1806, allocations: 4 kB / 0.5902 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1806, allocations: 0 / 0.5902 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.1808, allocations: 39.97 kB / 0.5902 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.1812, allocations: 256.9 kB / 0.5904 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1814, allocations: 46.44 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.1815, allocations: 32.91 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1815, allocations: 0 / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1815, allocations: 34.55 kB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1815, allocations: 0 / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003877/0.1819, allocations: 93.66 kB / 0.5906 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.182, allocations: 59.33 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.1821, allocations: 97.86 kB / 0.5908 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1821, allocations: 25.7 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.1821, allocations: 92.08 kB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1822, allocations: 3.906 kB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1822, allocations: 17.83 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.1823, allocations: 310.8 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.1824, allocations: 23.98 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.1825, allocations: 15.98 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1827, allocations: 52.88 kB / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1827, allocations: 7.938 kB / 0.5913 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000216/0.1829, allocations: 81.61 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1829, allocations: 7.984 kB / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1829, allocations: 0 / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.183, allocations: 192 / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.1831, allocations: 8 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1831, allocations: 0 / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.1831, allocations: 16.02 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1832, allocations: 0 / 0.5914 GB, free: 14.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.1832, allocations: 113.8 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1833, allocations: 3.984 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1835, allocations: 88.77 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1836, allocations: 0 / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1836, allocations: 4 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1836, allocations: 0 / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1838, allocations: 177.4 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1838, allocations: 0 / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.1838, allocations: 12 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1839, allocations: 0 / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1839, allocations: 11.92 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1839, allocations: 3.984 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1839, allocations: 0 / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1842, allocations: 179.5 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1842, allocations: 77.11 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1842, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.1843, allocations: 11.98 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.1844, allocations: 0 / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.1844, allocations: 4 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.1844, allocations: 83.27 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1844, allocations: 3.938 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002309/0.1847, allocations: 8 kB / 0.5922 GB, free: 13.96 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 (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.0005367/0.1852, allocations: 0.7124 MB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1854, allocations: 47.95 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1855, allocations: 0 / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1856, allocations: 31.98 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1859, allocations: 4 kB / 0.5929 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.1863, allocations: 166.2 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1865, allocations: 0.677 MB / 0.5938 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.1866, allocations: 4 kB / 0.5938 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.1866, allocations: 11.44 kB / 0.5938 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1866, allocations: 0 / 0.5938 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.1979, allocations: 1.1 MB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/0.1982, allocations: 209.5 kB / 0.595 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.404, allocations: 0 / 0.595 GB, free: 11.03 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/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)