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.0009904/0.0009905, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 69.05 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4512, allocations: 80.2 MB / 0.5801 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002691/0.454, allocations: 1.402 MB / 0.5815 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004262/0.4544, allocations: 212.8 kB / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.4545, allocations: 0.8438 kB / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.4545, allocations: 4 kB / 0.5817 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.4546, allocations: 9.469 kB / 0.5817 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.4548, allocations: 19.19 kB / 0.5817 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.4548, allocations: 25.73 kB / 0.5817 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.4549, allocations: 7.328 kB / 0.5817 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.455, allocations: 10.08 kB / 0.5817 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.455, allocations: 9.719 kB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.455, allocations: 2.719 kB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.351e-05/0.4551, allocations: 28.48 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.4552, allocations: 5.812 kB / 0.5818 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.4552, allocations: 16.59 kB / 0.5818 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.4553, allocations: 35.5 kB / 0.5818 GB, free: 3.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4553, allocations: 0 / 0.5818 GB, free: 3.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4553, allocations: 0 / 0.5818 GB, free: 3.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.4554, allocations: 1.062 kB / 0.5818 GB, free: 3.359 MB / 430.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.0003962/0.4558, allocations: 342.2 kB / 0.5822 GB, free: 2.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4558, allocations: 9.781 kB / 0.5822 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.4559, allocations: 8.422 kB / 0.5822 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/0.456, allocations: 171 kB / 0.5823 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.456, allocations: 1.25 kB / 0.5823 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4561, allocations: 5.75 kB / 0.5823 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4562, allocations: 46.2 kB / 0.5824 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4563, allocations: 192 / 0.5824 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4563, allocations: 7.938 kB / 0.5824 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4563, allocations: 1.406 kB / 0.5824 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.4565, allocations: 36.56 kB / 0.5824 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.4568, allocations: 243.4 kB / 0.5827 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.4569, allocations: 44.41 kB / 0.5827 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.457, allocations: 20.7 kB / 0.5827 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.457, allocations: 8.594 kB / 0.5827 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.457, allocations: 31.75 kB / 0.5828 GB, free: 2.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.457, allocations: 0 / 0.5828 GB, free: 2.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.4574, allocations: 83.97 kB / 0.5828 GB, free: 2.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.4574, allocations: 52.19 kB / 0.5829 GB, free: 2.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.4575, allocations: 105.2 kB / 0.583 GB, free: 2.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.4575, allocations: 26.45 kB / 0.583 GB, free: 2.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.4575, allocations: 81.62 kB / 0.5831 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.4575, allocations: 6.031 kB / 0.5831 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.4576, allocations: 16.42 kB / 0.5831 GB, free: 2.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.4576, allocations: 317.5 kB / 0.5834 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.4577, allocations: 18.09 kB / 0.5834 GB, free: 1.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.4578, allocations: 17.47 kB / 0.5835 GB, free: 1.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4579, allocations: 37.8 kB / 0.5835 GB, free: 1.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4579, allocations: 0 / 0.5835 GB, free: 1.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.4581, allocations: 72.03 kB / 0.5836 GB, free: 1.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4582, allocations: 5.312 kB / 0.5836 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4582, allocations: 4.281 kB / 0.5836 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4582, allocations: 4.703 kB / 0.5836 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.4583, allocations: 13.66 kB / 0.5836 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.4583, allocations: 0 / 0.5836 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.4583, allocations: 14.33 kB / 0.5836 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.4584, allocations: 0.8438 kB / 0.5836 GB, free: 1.633 MB / 430.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.415e-05/0.4584, allocations: 113.5 kB / 0.5837 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4584, allocations: 6.219 kB / 0.5837 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.4587, allocations: 78.02 kB / 0.5838 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4587, allocations: 0.7188 kB / 0.5838 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4587, allocations: 5.578 kB / 0.5838 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4587, allocations: 0 / 0.5838 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.4588, allocations: 161.6 kB / 0.5839 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4588, allocations: 0 / 0.5839 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.4589, allocations: 11.23 kB / 0.584 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4589, allocations: 4 kB / 0.584 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4589, allocations: 5.844 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4589, allocations: 0 / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4589, allocations: 0.9375 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.4591, allocations: 166.2 kB / 0.5841 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.4592, allocations: 79.12 kB / 0.5842 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.4592, allocations: 0 / 0.5842 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.4593, allocations: 10.17 kB / 0.5842 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.4593, allocations: 3.031 kB / 0.5842 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.4593, allocations: 0.8438 kB / 0.5842 GB, free: 1.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.4594, allocations: 87.97 kB / 0.5843 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4594, allocations: 5 kB / 0.5843 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.4596, allocations: 3.938 kB / 0.5843 GB, free: 0.9336 MB / 430.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 9.576e-05/0.4597, allocations: 96.16 kB / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4599, allocations: 45.19 kB / 0.5844 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4599, allocations: 0 / 0.5844 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.46, allocations: 23.44 kB / 0.5845 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.4603, allocations: 7.047 kB / 0.5845 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4606, allocations: 131.6 kB / 0.5846 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.4607, allocations: 0.6772 MB / 0.5853 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.4607, allocations: 1.547 kB / 0.5853 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.509e-05/0.4608, allocations: 8.938 kB / 0.5853 GB, free: 16 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4608, allocations: 1.031 kB / 0.5853 GB, free: 16 MB / 446.1 MB Notification: Performance of Templates: time 0.002524/0.4633, allocations: 0.4917 MB / 0.5857 GB, free: 15.93 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)