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.001492/0.001492, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9935/0.9935, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 60.91 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1766, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002946/0.1796, allocations: 1.394 MB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005133/0.1801, allocations: 197.1 kB / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1802, allocations: 0 / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.1803, allocations: 11.88 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.1803, allocations: 7.938 kB / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1806, allocations: 27.89 kB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.1806, allocations: 19.94 kB / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1808, allocations: 4 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.1808, allocations: 15.92 kB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.1809, allocations: 15.97 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1809, allocations: 4 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.181, allocations: 19.98 kB / 0.5861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.181, allocations: 8 kB / 0.5861 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1811, allocations: 7.938 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1812, allocations: 48.09 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1812, allocations: 0 / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1813, allocations: 0 / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1813, allocations: 0 / 0.5862 GB, free: 2.652 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.0004975/0.1818, allocations: 339.5 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1818, allocations: 8.031 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1819, allocations: 30.75 kB / 0.5866 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.182, allocations: 8.938 kB / 0.5866 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1822, allocations: 168.3 kB / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1822, allocations: 4.312 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1822, allocations: 4.375 kB / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1824, allocations: 50.23 kB / 0.5868 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1824, allocations: 7.922 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1824, allocations: 0 / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1824, allocations: 0 / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.1826, allocations: 35.97 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.183, allocations: 248.9 kB / 0.5871 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1832, allocations: 42.44 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.1833, allocations: 20.91 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1833, allocations: 4 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1833, allocations: 38.5 kB / 0.5872 GB, free: 1.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1833, allocations: 0 / 0.5872 GB, free: 1.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003737/0.1837, allocations: 77.64 kB / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1838, allocations: 59.34 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.1838, allocations: 102 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1839, allocations: 25.7 kB / 0.5874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.1839, allocations: 84.14 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1839, allocations: 7.906 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.184, allocations: 9.719 kB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1841, allocations: 318.8 kB / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.1842, allocations: 15.98 kB / 0.5878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.1843, allocations: 23.92 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1844, allocations: 40.81 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1844, allocations: 3.938 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.1846, allocations: 57.67 kB / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1847, allocations: 11.94 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1847, allocations: 8.078 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.1847, allocations: 0 / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.1848, allocations: 4 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1848, allocations: 4 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.1849, allocations: 7.984 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1849, allocations: 0 / 0.588 GB, free: 0.582 MB / 494.1 MB 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.077e-05/0.185, allocations: 113.8 kB / 0.5881 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.185, allocations: 7.906 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.1853, allocations: 76.77 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1853, allocations: 4 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1853, allocations: 0 / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1853, allocations: 4 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1854, allocations: 161.6 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1854, allocations: 0 / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.1855, allocations: 11.94 kB / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1855, allocations: 4.234 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1855, allocations: 3.984 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1855, allocations: 0 / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1856, allocations: 4 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1858, allocations: 167.4 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1858, allocations: 81.05 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1859, allocations: 0 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.1859, allocations: 11.98 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.186, allocations: 8 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.186, allocations: 0 / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.186, allocations: 79.28 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002117/0.1863, allocations: 4 kB / 0.5887 GB, free: 15.75 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.0004816/0.1868, allocations: 0.7123 MB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.187, allocations: 39.95 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.187, allocations: 0 / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.1871, allocations: 27.92 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1874, allocations: 4.062 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.1879, allocations: 156.1 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1882, allocations: 0.6768 MB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1882, allocations: 0 / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.1883, allocations: 19.44 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1883, allocations: 0 / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.2045, allocations: 1.334 MB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.544, allocations: 6 kB / 0.5916 GB, free: 12.81 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)