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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001361/0.001361, allocations: 106 kB / 16.41 MB, free: 6.469 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.001261/0.001261, allocations: 187 kB / 17.34 MB, free: 5.715 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8535/0.8535, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 67.8 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1986, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00268/0.2013, allocations: 1.403 MB / 0.6667 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.2017, allocations: 203.5 kB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.2017, allocations: 0 / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.2018, allocations: 3.938 kB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.2018, allocations: 11.91 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.202, allocations: 19.92 kB / 0.6669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.2021, allocations: 23.92 kB / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.2022, allocations: 7.984 kB / 0.667 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.2023, allocations: 11.92 kB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.2023, allocations: 8 kB / 0.667 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.2023, allocations: 8 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.2024, allocations: 31.97 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.2024, allocations: 3.938 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.2024, allocations: 8 kB / 0.667 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.2026, allocations: 39.83 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2026, allocations: 0 / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2026, allocations: 0 / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.2026, allocations: 0 / 0.6671 GB, free: 3.98 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.0005033/0.2031, allocations: 343.4 kB / 0.6674 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2031, allocations: 13.11 kB / 0.6674 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2032, allocations: 8.922 kB / 0.6674 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2034, allocations: 160.4 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2034, allocations: 384 / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2034, allocations: 4.375 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2036, allocations: 58.11 kB / 0.6676 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2036, allocations: 192 / 0.6676 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2036, allocations: 3.938 kB / 0.6676 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2036, allocations: 0 / 0.6676 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2038, allocations: 39.95 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.2041, allocations: 244.9 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2043, allocations: 46.42 kB / 0.668 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/0.2044, allocations: 20.91 kB / 0.668 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2044, allocations: 4 kB / 0.668 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2044, allocations: 30.56 kB / 0.668 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2044, allocations: 7.938 kB / 0.668 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.2048, allocations: 77.64 kB / 0.6681 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2048, allocations: 51.41 kB / 0.6681 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.2049, allocations: 109.9 kB / 0.6682 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2049, allocations: 25.7 kB / 0.6683 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.205, allocations: 84.14 kB / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.205, allocations: 7.891 kB / 0.6684 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.205, allocations: 13.72 kB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2052, allocations: 314.8 kB / 0.6687 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.2053, allocations: 15.97 kB / 0.6687 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.2053, allocations: 23.98 kB / 0.6687 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2055, allocations: 32.83 kB / 0.6687 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2055, allocations: 4 kB / 0.6687 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.2057, allocations: 65.59 kB / 0.6688 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2057, allocations: 8 kB / 0.6688 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2057, allocations: 4.094 kB / 0.6688 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2057, allocations: 192 / 0.6688 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.2058, allocations: 11.92 kB / 0.6688 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2058, allocations: 0 / 0.6688 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.2059, allocations: 11.98 kB / 0.6688 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2059, allocations: 4 kB / 0.6688 GB, free: 1.941 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 8.341e-05/0.206, allocations: 113.8 kB / 0.669 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.206, allocations: 7.938 kB / 0.669 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.2063, allocations: 80.77 kB / 0.669 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2063, allocations: 0 / 0.669 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2063, allocations: 4 kB / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2063, allocations: 3.938 kB / 0.669 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2065, allocations: 157.6 kB / 0.6692 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2065, allocations: 0 / 0.6692 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.2065, allocations: 15.92 kB / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2065, allocations: 0 / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2065, allocations: 4 kB / 0.6692 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2065, allocations: 0 / 0.6692 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2065, allocations: 0 / 0.6692 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.2068, allocations: 167.5 kB / 0.6694 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.2069, allocations: 81.09 kB / 0.6695 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2069, allocations: 0 / 0.6695 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.207, allocations: 8 kB / 0.6695 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.207, allocations: 11.98 kB / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.207, allocations: 0 / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.2071, allocations: 79.28 kB / 0.6695 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.2071, allocations: 0 / 0.6695 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002224/0.2073, allocations: 11.89 kB / 0.6696 GB, free: 1.105 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.0001192/0.2074, allocations: 95.25 kB / 0.6696 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.2076, allocations: 43.89 kB / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2076, allocations: 4 kB / 0.6697 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.2077, allocations: 23.97 kB / 0.6697 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.208, allocations: 11.88 kB / 0.6697 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.2083, allocations: 152.1 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2087, allocations: 0.6846 MB / 0.6705 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.2087, allocations: 11.44 kB / 0.6706 GB, free: 20 kB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2087, allocations: 0 / 0.6706 GB, free: 20 kB / 0.4981 GB Notification: Performance of Templates: time 0.001998/0.2107, allocations: 0.5775 MB / 0.6711 GB, free: 15.44 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)