Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.001276/0.001276, allocations: 87.11 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.001264/0.001264, 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.68/1.68, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 426.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 8 kB / 0.5071 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 82.31 MB / 0.5875 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00151/0.1774, allocations: 1.104 MB / 0.5885 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.1784, allocations: 0.5676 MB / 0.5891 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.1784, allocations: 0 / 0.5891 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.1784, allocations: 0 / 0.5891 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.1785, allocations: 7.922 kB / 0.5891 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.1788, allocations: 79.64 kB / 0.5892 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.1789, allocations: 23.92 kB / 0.5892 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.179, allocations: 4 kB / 0.5892 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.179, allocations: 8 kB / 0.5892 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.1791, allocations: 19.86 kB / 0.5892 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1791, allocations: 0 / 0.5892 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.1794, allocations: 147.7 kB / 0.5894 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1794, allocations: 3.984 kB / 0.5894 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1795, allocations: 29.7 kB / 0.5894 GB, free: 1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1796, allocations: 68.14 kB / 0.5895 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1796, allocations: 0 / 0.5895 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1796, allocations: 0 / 0.5895 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1796, allocations: 0 / 0.5895 GB, free: 0.9336 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.0004998/0.1801, allocations: 367.2 kB / 0.5898 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1802, allocations: 12.03 kB / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.1802, allocations: 30.56 kB / 0.5899 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.1806, allocations: 31.92 kB / 0.5899 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1808, allocations: 163.1 kB / 0.5901 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1808, allocations: 8 kB / 0.5901 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1808, allocations: 3.938 kB / 0.5901 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.1811, allocations: 65.64 kB / 0.5901 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1811, allocations: 3.984 kB / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1811, allocations: 0 / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1811, allocations: 0 / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.1813, allocations: 67.94 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1818, allocations: 292.7 kB / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.182, allocations: 62.42 kB / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1822, allocations: 40.89 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1822, allocations: 0 / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1822, allocations: 34.55 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1822, allocations: 0 / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004809/0.1827, allocations: 133.6 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1828, allocations: 55.41 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.1829, allocations: 105.9 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1829, allocations: 25.7 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.1829, allocations: 84.12 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.183, allocations: 3.906 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.183, allocations: 0 / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1831, allocations: 322.8 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1832, allocations: 31.97 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1833, allocations: 31.97 kB / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1835, allocations: 36.03 kB / 0.5914 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1835, allocations: 0 / 0.5914 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002791/0.1838, allocations: 89.64 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1838, allocations: 8 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1838, allocations: 4.031 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1838, allocations: 0 / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.184, allocations: 23.92 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.184, allocations: 4 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.1841, allocations: 11.92 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1841, allocations: 4 kB / 0.5915 GB, free: 14.59 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.59e-05/0.1842, allocations: 113.8 kB / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1842, allocations: 4 kB / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.1842, allocations: 3.125 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1842, allocations: 0 / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1843, allocations: 3.953 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1843, allocations: 0 / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1844, allocations: 169.6 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1844, allocations: 0 / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1845, allocations: 15.98 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.1846, allocations: 4 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1846, allocations: 3.938 kB / 0.5918 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1846, allocations: 0 / 0.5918 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1846, allocations: 0 / 0.5918 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1849, allocations: 203.3 kB / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.185, allocations: 77.11 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.185, allocations: 3.938 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1851, allocations: 16.02 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1852, allocations: 0 / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1852, allocations: 7.984 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.1852, allocations: 79.23 kB / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1852, allocations: 0 / 0.5922 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002478/0.1855, allocations: 16 kB / 0.5922 GB, free: 13.79 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 (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 Backend phase and start with SimCode phase: time 0.0006754/0.1862, allocations: 0.7362 MB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.1865, allocations: 71.91 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1865, allocations: 0 / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1866, allocations: 36.03 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1869, allocations: 11.17 kB / 0.5931 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.1875, allocations: 179.6 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1877, allocations: 0.677 MB / 0.5939 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.965e-05/0.1878, allocations: 7.984 kB / 0.5939 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.1879, allocations: 15.42 kB / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1879, allocations: 0 / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.2002, allocations: 1.385 MB / 0.5953 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.2004, allocations: 204.5 kB / 0.5955 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.959, allocations: 0 / 0.5955 GB, free: 10.5 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: