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.007877/0.007877, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.002291/0.002291, allocations: 188 kB / 16.67 MB, free: 5.969 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.493/1.493, 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.8935/0.8935, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 63.56 kB / 0.5808 GB, free: 24.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1695, allocations: 80.21 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003752/0.1733, allocations: 1.4 MB / 0.6605 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.1739, allocations: 211.4 kB / 0.6607 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.174, allocations: 0 / 0.6607 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.1741, allocations: 3.938 kB / 0.6607 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.1742, allocations: 0 / 0.6607 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.1745, allocations: 31.89 kB / 0.6608 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.1746, allocations: 23.88 kB / 0.6608 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1747, allocations: 7.984 kB / 0.6608 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1748, allocations: 11.94 kB / 0.6608 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.1749, allocations: 11.98 kB / 0.6608 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1749, allocations: 0 / 0.6608 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.175, allocations: 27.97 kB / 0.6609 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.175, allocations: 7.938 kB / 0.6609 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.175, allocations: 7.984 kB / 0.6609 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1752, allocations: 38.72 kB / 0.6609 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1752, allocations: 4 kB / 0.6609 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1752, allocations: 0 / 0.6609 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1752, allocations: 0 / 0.6609 GB, free: 9.109 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.0005285/0.1758, allocations: 340 kB / 0.6612 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1758, allocations: 8.031 kB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.1759, allocations: 34.75 kB / 0.6613 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.176, allocations: 4.938 kB / 0.6613 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1761, allocations: 168.6 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1762, allocations: 4.312 kB / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1762, allocations: 12.36 kB / 0.6615 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1764, allocations: 54.17 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1764, allocations: 3.938 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1764, allocations: 0 / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1764, allocations: 0 / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1766, allocations: 27.97 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.177, allocations: 257 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1771, allocations: 42.44 kB / 0.6618 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.1772, allocations: 20.91 kB / 0.6618 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1772, allocations: 0 / 0.6618 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1772, allocations: 38.55 kB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1772, allocations: 4 kB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.1776, allocations: 73.56 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1777, allocations: 59.39 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.1777, allocations: 97.86 kB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1778, allocations: 25.7 kB / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1778, allocations: 88.08 kB / 0.6622 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1778, allocations: 8.031 kB / 0.6622 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1779, allocations: 21.64 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.178, allocations: 310.8 kB / 0.6625 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.1781, allocations: 19.98 kB / 0.6626 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.1781, allocations: 11.98 kB / 0.6626 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1783, allocations: 48.88 kB / 0.6626 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1783, allocations: 3.938 kB / 0.6626 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.1785, allocations: 61.66 kB / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1786, allocations: 8 kB / 0.6627 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1786, allocations: 4 kB / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1786, allocations: 0 / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1787, allocations: 7.938 kB / 0.6627 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1787, allocations: 12.02 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1788, allocations: 0 / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1788, allocations: 4 kB / 0.6627 GB, free: 7.027 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.475e-05/0.1789, allocations: 109.8 kB / 0.6628 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1789, allocations: 0 / 0.6628 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1792, allocations: 80.77 kB / 0.6629 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1792, allocations: 11.94 kB / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1792, allocations: 0 / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1792, allocations: 0 / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1794, allocations: 161.6 kB / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1794, allocations: 0 / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.1794, allocations: 11.98 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1795, allocations: 0 / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1795, allocations: 3.938 kB / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1795, allocations: 0 / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1795, allocations: 0 / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1797, allocations: 179.6 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.1798, allocations: 77.11 kB / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1798, allocations: 0 / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.1799, allocations: 7.984 kB / 0.6633 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1799, allocations: 4 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.18, allocations: 0 / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.18, allocations: 91.27 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.18, allocations: 0 / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002159/0.1802, allocations: 4 kB / 0.6634 GB, free: 6.195 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.0004962/0.1807, allocations: 0.7006 MB / 0.6641 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1809, allocations: 43.95 kB / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.181, allocations: 0 / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.1811, allocations: 19.92 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1813, allocations: 17.64 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.1818, allocations: 144.2 kB / 0.6643 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.182, allocations: 0.6807 MB / 0.665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.182, allocations: 0 / 0.665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1821, allocations: 11.44 kB / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1821, allocations: 4 kB / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.1993, allocations: 1.36 MB / 0.6663 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.641, allocations: 10.55 kB / 0.6663 GB, free: 3.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)