Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_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.005304/0.005304, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001304/0.001304, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8801/0.8801, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 70.58 kB / 0.5808 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1789, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00282/0.1818, allocations: 1.403 MB / 0.6605 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.1824, allocations: 203.5 kB / 0.6607 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.1824, allocations: 4 kB / 0.6607 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.1825, allocations: 0 / 0.6607 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.1825, allocations: 7.938 kB / 0.6607 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1828, allocations: 23.89 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.1828, allocations: 19.88 kB / 0.6608 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.1829, allocations: 11.98 kB / 0.6608 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.183, allocations: 7.938 kB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.183, allocations: 11.98 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1831, allocations: 8 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.1832, allocations: 31.97 kB / 0.6609 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1832, allocations: 7.938 kB / 0.6609 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1832, allocations: 7.984 kB / 0.6609 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1833, allocations: 36.12 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1833, allocations: 0 / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1834, allocations: 0 / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.1834, allocations: 0 / 0.6609 GB, free: 8.996 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005113/0.1839, allocations: 343.4 kB / 0.6612 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1839, allocations: 12.03 kB / 0.6612 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.184, allocations: 34.75 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1841, allocations: 4.938 kB / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1842, allocations: 168.3 kB / 0.6614 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1843, allocations: 4.375 kB / 0.6614 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.1843, allocations: 4.375 kB / 0.6615 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1845, allocations: 54.11 kB / 0.6615 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1845, allocations: 3.938 kB / 0.6615 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1845, allocations: 4 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1845, allocations: 4 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1847, allocations: 31.97 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.185, allocations: 249 kB / 0.6618 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1852, allocations: 38.5 kB / 0.6618 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.1853, allocations: 24.84 kB / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1853, allocations: 7.984 kB / 0.6618 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1854, allocations: 30.56 kB / 0.6619 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.1854, allocations: 3.984 kB / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.1857, allocations: 81.64 kB / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1858, allocations: 59.47 kB / 0.662 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.1859, allocations: 97.86 kB / 0.6621 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1859, allocations: 25.7 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.186, allocations: 80.14 kB / 0.6622 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.186, allocations: 19.88 kB / 0.6622 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1861, allocations: 9.719 kB / 0.6622 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1862, allocations: 310.8 kB / 0.6625 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.1863, allocations: 23.92 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.1864, allocations: 19.97 kB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1866, allocations: 36.83 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1866, allocations: 3.938 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.1868, allocations: 65.66 kB / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1868, allocations: 8.094 kB / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1868, allocations: 0 / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1868, allocations: 0 / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1869, allocations: 15.98 kB / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1869, allocations: 0 / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.187, allocations: 7.953 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.187, allocations: 3.938 kB / 0.6627 GB, free: 6.906 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 9.303e-05/0.1871, allocations: 109.8 kB / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1871, allocations: 11.98 kB / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1874, allocations: 72.78 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1874, allocations: 0 / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1874, allocations: 0 / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1874, allocations: 3.938 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1876, allocations: 161.6 kB / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1876, allocations: 0 / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.1877, allocations: 11.98 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1877, allocations: 4 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1877, allocations: 4 kB / 0.6631 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1877, allocations: 8 kB / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1877, allocations: 0 / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.188, allocations: 167.4 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1881, allocations: 81.06 kB / 0.6633 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1881, allocations: 8 kB / 0.6633 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1882, allocations: 7.984 kB / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1882, allocations: 0 / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1882, allocations: 0 / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.1883, allocations: 87.27 kB / 0.6634 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1883, allocations: 0 / 0.6634 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.1885, allocations: 4 kB / 0.6634 GB, free: 6.074 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.0006097/0.1891, allocations: 0.705 MB / 0.6641 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1894, allocations: 35.95 kB / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1894, allocations: 0 / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.1895, allocations: 28.05 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1898, allocations: 3.984 kB / 0.6642 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1903, allocations: 154.7 kB / 0.6643 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1906, allocations: 0.6807 MB / 0.665 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.1906, allocations: 3.984 kB / 0.665 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1907, allocations: 11.44 kB / 0.665 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1907, allocations: 0 / 0.665 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.2148, allocations: 1.353 MB / 0.6663 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.187, allocations: 5.062 kB / 0.6663 GB, free: 3.141 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)