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.006793/0.006793, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001279/0.001279, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9542/0.9542, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 55.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4652, allocations: 80.92 MB / 0.6646 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002241/0.4675, allocations: 1.397 MB / 0.666 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004338/0.4679, allocations: 201.7 kB / 0.6662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.468, allocations: 5.312 kB / 0.6662 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.468, allocations: 3.938 kB / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.4681, allocations: 5.297 kB / 0.6662 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.4684, allocations: 21.31 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.464e-05/0.4685, allocations: 33.52 kB / 0.6662 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.4686, allocations: 2.969 kB / 0.6662 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.4687, allocations: 11.95 kB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.4687, allocations: 15.8 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.4688, allocations: 1.25 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.4689, allocations: 28.08 kB / 0.6663 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.4689, allocations: 3.984 kB / 0.6663 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.4689, allocations: 11.81 kB / 0.6663 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.4691, allocations: 33.17 kB / 0.6663 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4691, allocations: 0 / 0.6663 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.34e-06/0.4691, allocations: 0 / 0.6663 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4691, allocations: 5.344 kB / 0.6664 GB, free: 6.211 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.0004465/0.4696, allocations: 341.2 kB / 0.6667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4697, allocations: 9.062 kB / 0.6667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.4698, allocations: 12.56 kB / 0.6667 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4699, allocations: 173.4 kB / 0.6669 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4699, allocations: 5.75 kB / 0.6669 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.47, allocations: 1.906 kB / 0.6669 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4702, allocations: 52.33 kB / 0.6669 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4702, allocations: 192 / 0.6669 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4702, allocations: 5.375 kB / 0.6669 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4702, allocations: 0 / 0.6669 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.4704, allocations: 34.69 kB / 0.667 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.4708, allocations: 247.7 kB / 0.6672 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.4709, allocations: 42.95 kB / 0.6672 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.471, allocations: 25.92 kB / 0.6673 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.471, allocations: 5.125 kB / 0.6673 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.471, allocations: 36.12 kB / 0.6673 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4711, allocations: 0 / 0.6673 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.4714, allocations: 76.11 kB / 0.6674 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.4714, allocations: 52.81 kB / 0.6674 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.4715, allocations: 102.1 kB / 0.6675 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.4715, allocations: 25.7 kB / 0.6675 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.4715, allocations: 81.55 kB / 0.6676 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.4715, allocations: 13.52 kB / 0.6676 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.4716, allocations: 11.38 kB / 0.6676 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.4716, allocations: 312.1 kB / 0.6679 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.4717, allocations: 21.33 kB / 0.668 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.4718, allocations: 21.22 kB / 0.668 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4719, allocations: 35.52 kB / 0.668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.472, allocations: 0 / 0.668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.4721, allocations: 77.06 kB / 0.6681 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4722, allocations: 5.031 kB / 0.6681 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4722, allocations: 96 / 0.6681 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4722, allocations: 5.375 kB / 0.6681 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.4723, allocations: 13.39 kB / 0.6681 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4723, allocations: 0 / 0.6681 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.4724, allocations: 11.72 kB / 0.6681 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.4724, allocations: 1.156 kB / 0.6681 GB, free: 4.379 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 4.652e-05/0.4724, allocations: 117.8 kB / 0.6682 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.4724, allocations: 1.5 kB / 0.6682 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.4727, allocations: 77.38 kB / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4727, allocations: 0 / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4727, allocations: 0 / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4727, allocations: 1.344 kB / 0.6683 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.4728, allocations: 166.5 kB / 0.6685 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4728, allocations: 0 / 0.6685 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.4729, allocations: 11.58 kB / 0.6685 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4729, allocations: 5.062 kB / 0.6685 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.4729, allocations: 4 kB / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4729, allocations: 0 / 0.6685 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4729, allocations: 9.031 kB / 0.6685 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.4731, allocations: 165.5 kB / 0.6687 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.4732, allocations: 82.23 kB / 0.6687 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.4732, allocations: 0 / 0.6687 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.4733, allocations: 11.86 kB / 0.6687 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.4733, allocations: 1.344 kB / 0.6688 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4733, allocations: 0.9375 kB / 0.6688 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.152e-05/0.4733, allocations: 86.8 kB / 0.6688 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4733, allocations: 0 / 0.6688 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002257/0.4736, allocations: 5.406 kB / 0.6688 GB, free: 3.629 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 9.117e-05/0.4737, allocations: 95.55 kB / 0.6689 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4739, allocations: 45.89 kB / 0.669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4739, allocations: 0 / 0.669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.474, allocations: 20.83 kB / 0.669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4743, allocations: 6.812 kB / 0.669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.4745, allocations: 135.5 kB / 0.6691 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.4747, allocations: 0.6742 MB / 0.6698 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.4747, allocations: 5.469 kB / 0.6698 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.4747, allocations: 12.77 kB / 0.6698 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.4747, allocations: 3.938 kB / 0.6698 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of Templates: time 0.002296/0.477, allocations: 496.8 kB / 0.6703 GB, free: 2.402 MB / 0.4981 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)