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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 107.2 kB / 15.99 MB, free: 6.359 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.00106/0.00106, allocations: 194.3 kB / 16.91 MB, free: 6.195 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.269/1.269, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.2 MB / 422.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 55.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3389, allocations: 80.19 MB / 0.5802 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002758/0.3417, allocations: 1.473 MB / 0.5816 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005259/0.3423, allocations: 200.5 kB / 0.5818 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.3423, allocations: 1.625 kB / 0.5818 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.3424, allocations: 3.984 kB / 0.5818 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.3425, allocations: 5.406 kB / 0.5818 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.3427, allocations: 16.25 kB / 0.5819 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.3428, allocations: 32.42 kB / 0.5819 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.343, allocations: 2.438 kB / 0.5819 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.343, allocations: 7.812 kB / 0.5819 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.3431, allocations: 11.7 kB / 0.5819 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3431, allocations: 4.75 kB / 0.5819 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3432, allocations: 27.59 kB / 0.5819 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.3433, allocations: 8.922 kB / 0.582 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.3433, allocations: 11.69 kB / 0.582 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3434, allocations: 24.31 kB / 0.582 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3434, allocations: 4 kB / 0.582 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3434, allocations: 0 / 0.582 GB, free: 26.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3434, allocations: 0.7812 kB / 0.582 GB, free: 26.14 MB / 446.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.0004005/0.3439, allocations: 340.6 kB / 0.5823 GB, free: 25.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3439, allocations: 9.531 kB / 0.5823 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.344, allocations: 7.406 kB / 0.5823 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.3441, allocations: 166.2 kB / 0.5825 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3442, allocations: 5.25 kB / 0.5825 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.3442, allocations: 384 / 0.5825 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3443, allocations: 53.45 kB / 0.5826 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3443, allocations: 1.562 kB / 0.5826 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3444, allocations: 3.938 kB / 0.5826 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3444, allocations: 0 / 0.5826 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.3445, allocations: 40.17 kB / 0.5826 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.3448, allocations: 243.5 kB / 0.5828 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.345, allocations: 48.59 kB / 0.5829 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.345, allocations: 17.5 kB / 0.5829 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3451, allocations: 5.906 kB / 0.5829 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3451, allocations: 40.66 kB / 0.5829 GB, free: 25.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3451, allocations: 0 / 0.5829 GB, free: 25.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003245/0.3454, allocations: 78.73 kB / 0.583 GB, free: 25.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.3455, allocations: 51.41 kB / 0.5831 GB, free: 25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.3455, allocations: 103.5 kB / 0.5832 GB, free: 24.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.3455, allocations: 29.11 kB / 0.5832 GB, free: 24.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.3456, allocations: 80.14 kB / 0.5833 GB, free: 24.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.3456, allocations: 13.11 kB / 0.5833 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.3456, allocations: 12.19 kB / 0.5833 GB, free: 24.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.3457, allocations: 317 kB / 0.5836 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.3458, allocations: 17.3 kB / 0.5836 GB, free: 24.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.3458, allocations: 17.67 kB / 0.5836 GB, free: 24.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.346, allocations: 47.44 kB / 0.5837 GB, free: 24.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.346, allocations: 0 / 0.5837 GB, free: 24.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.3462, allocations: 66.58 kB / 0.5837 GB, free: 24.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3462, allocations: 4.969 kB / 0.5837 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3462, allocations: 5.547 kB / 0.5837 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3462, allocations: 0 / 0.5837 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.3463, allocations: 9.141 kB / 0.5837 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3463, allocations: 1.375 kB / 0.5837 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.3464, allocations: 12.17 kB / 0.5838 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3464, allocations: 1.594 kB / 0.5838 GB, free: 24.34 MB / 446.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 4.714e-05/0.3465, allocations: 116.2 kB / 0.5839 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.3465, allocations: 9.297 kB / 0.5839 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3467, allocations: 78.61 kB / 0.584 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3467, allocations: 0 / 0.584 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3467, allocations: 6.219 kB / 0.584 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3467, allocations: 0 / 0.584 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3468, allocations: 162.4 kB / 0.5841 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3469, allocations: 5.578 kB / 0.5841 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.3469, allocations: 8.719 kB / 0.5841 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3469, allocations: 3.938 kB / 0.5841 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.347, allocations: 1.094 kB / 0.5841 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.347, allocations: 1.75 kB / 0.5841 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.347, allocations: 0 / 0.5841 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3472, allocations: 175.5 kB / 0.5843 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.3472, allocations: 78.27 kB / 0.5844 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3472, allocations: 1.094 kB / 0.5844 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3473, allocations: 8.672 kB / 0.5844 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3473, allocations: 1.375 kB / 0.5844 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3473, allocations: 0.8125 kB / 0.5844 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.289e-05/0.3474, allocations: 83.31 kB / 0.5845 GB, free: 23.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3474, allocations: 3.938 kB / 0.5845 GB, free: 23.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.3476, allocations: 5.656 kB / 0.5845 GB, free: 23.59 MB / 446.1 MB 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 8.703e-05/0.3477, allocations: 100.6 kB / 0.5846 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3479, allocations: 38.5 kB / 0.5846 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3479, allocations: 2.531 kB / 0.5846 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.348, allocations: 25.19 kB / 0.5846 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3483, allocations: 6.344 kB / 0.5846 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.3486, allocations: 154.2 kB / 0.5848 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.3487, allocations: 0.6779 MB / 0.5855 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3487, allocations: 8.906 kB / 0.5855 GB, free: 22.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3487, allocations: 0 / 0.5855 GB, free: 22.61 MB / 446.1 MB Notification: Performance of Templates: time 0.001661/0.3504, allocations: 0.5847 MB / 0.586 GB, free: 22.33 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)