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.006728/0.006728, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.00137/0.00137, allocations: 201.5 kB / 16.68 MB, free: 5.926 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.456/1.456, 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.8441/0.8441, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 73.47 kB / 0.5808 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 80.2 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003465/0.1685, allocations: 1.397 MB / 0.6605 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005704/0.1691, allocations: 203.5 kB / 0.6607 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.1691, allocations: 0 / 0.6607 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.1692, allocations: 0 / 0.6607 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.1692, allocations: 3.938 kB / 0.6607 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1695, allocations: 23.91 kB / 0.6608 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.1696, allocations: 23.92 kB / 0.6608 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1697, allocations: 12 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.1698, allocations: 15.86 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.1698, allocations: 15.97 kB / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1699, allocations: 3.938 kB / 0.6608 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.17, allocations: 27.98 kB / 0.6609 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.17, allocations: 3.938 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.17, allocations: 8 kB / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1702, allocations: 40.11 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1703, allocations: 3.984 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1703, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1703, allocations: 8 kB / 0.6609 GB, free: 8.969 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.0006689/0.171, allocations: 339.4 kB / 0.6612 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.171, allocations: 12.03 kB / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.1711, allocations: 30.75 kB / 0.6613 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.1712, allocations: 0.9375 kB / 0.6613 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1714, allocations: 168.3 kB / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1714, allocations: 4.312 kB / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1714, allocations: 384 / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.1718, allocations: 54.23 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1718, allocations: 11.88 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1718, allocations: 0 / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1718, allocations: 4 kB / 0.6615 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.172, allocations: 31.95 kB / 0.6615 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1724, allocations: 240.9 kB / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1725, allocations: 50.52 kB / 0.6618 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.1726, allocations: 24.91 kB / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1727, allocations: 0 / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.1728, allocations: 34.5 kB / 0.6619 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1728, allocations: 0 / 0.6619 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004408/0.1733, allocations: 85.64 kB / 0.662 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1733, allocations: 51.41 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1736, allocations: 101.8 kB / 0.6621 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1736, allocations: 29.7 kB / 0.6621 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.1736, allocations: 80.14 kB / 0.6622 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1737, allocations: 7.891 kB / 0.6622 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1737, allocations: 17.84 kB / 0.6622 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1739, allocations: 318.8 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.174, allocations: 11.98 kB / 0.6625 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.174, allocations: 23.92 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1742, allocations: 36.81 kB / 0.6626 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1742, allocations: 8 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.1744, allocations: 61.67 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1745, allocations: 5.719 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1745, allocations: 0 / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1745, allocations: 11.92 kB / 0.6627 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.1746, allocations: 4 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1746, allocations: 0 / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.1747, allocations: 11.94 kB / 0.6627 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1747, allocations: 4.031 kB / 0.6627 GB, free: 6.895 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 0.0001047/0.1748, allocations: 121.7 kB / 0.6628 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1748, allocations: 0 / 0.6628 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1751, allocations: 76.77 kB / 0.6629 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1751, allocations: 3.938 kB / 0.6629 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1751, allocations: 0 / 0.6629 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1751, allocations: 4 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1753, allocations: 165.6 kB / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1753, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.1754, allocations: 8 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1754, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1754, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1754, allocations: 0 / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1754, allocations: 7.969 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1757, allocations: 175.4 kB / 0.6632 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1758, allocations: 81.06 kB / 0.6633 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1758, allocations: 0 / 0.6633 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.1759, allocations: 15.98 kB / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1759, allocations: 0 / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.1759, allocations: 4 kB / 0.6633 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.176, allocations: 75.28 kB / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 4 kB / 0.6634 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002092/0.1762, allocations: 8 kB / 0.6634 GB, free: 6.055 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.0007016/0.1769, allocations: 0.704 MB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1772, allocations: 47.98 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1772, allocations: 0 / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.1773, allocations: 19.98 kB / 0.6642 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.1776, allocations: 4 kB / 0.6642 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.1781, allocations: 152.1 kB / 0.6643 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.1785, allocations: 0.6807 MB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.1785, allocations: 4.062 kB / 0.665 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.1786, allocations: 11.44 kB / 0.665 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1786, allocations: 0 / 0.665 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2023, allocations: 1.345 MB / 0.6663 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.149, allocations: 18.23 kB / 0.6663 GB, free: 3.117 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)