Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001872/0.001872, allocations: 194.9 kB / 16.14 MB, free: 6.656 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 60.38 kB / 0.5011 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.432, allocations: 80.2 MB / 0.5794 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002427/0.4345, allocations: 1.343 MB / 0.5807 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.4354, allocations: 0.5961 MB / 0.5813 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.4354, allocations: 1.375 kB / 0.5813 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.4355, allocations: 0.7031 kB / 0.5813 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.4355, allocations: 6.578 kB / 0.5813 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4358, allocations: 80.81 kB / 0.5814 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.4359, allocations: 22.48 kB / 0.5814 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.4359, allocations: 6.953 kB / 0.5814 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.436, allocations: 4.578 kB / 0.5814 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.436, allocations: 7.656 kB / 0.5814 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.436, allocations: 1.094 kB / 0.5814 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.4363, allocations: 148.9 kB / 0.5816 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.4363, allocations: 1.594 kB / 0.5816 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.4364, allocations: 8.625 kB / 0.5816 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.4366, allocations: 98.34 kB / 0.5817 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4366, allocations: 0 / 0.5817 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4366, allocations: 1.594 kB / 0.5817 GB, free: 3.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.4366, allocations: 0 / 0.5817 GB, free: 3.074 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003225/0.4369, allocations: 345.6 kB / 0.582 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.437, allocations: 9.125 kB / 0.582 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004503/0.4374, allocations: 26.86 kB / 0.5821 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.018e-05/0.4375, allocations: 175 kB / 0.5822 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4375, allocations: 384 / 0.5822 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.4375, allocations: 2.469 kB / 0.5822 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4377, allocations: 48.44 kB / 0.5823 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4377, allocations: 192 / 0.5823 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4377, allocations: 5 kB / 0.5823 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4378, allocations: 0 / 0.5823 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.4379, allocations: 30.97 kB / 0.5823 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.4381, allocations: 158.2 kB / 0.5825 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.4382, allocations: 38.84 kB / 0.5825 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.4383, allocations: 19.22 kB / 0.5825 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4383, allocations: 4.703 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.4383, allocations: 32.42 kB / 0.5826 GB, free: 2.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4383, allocations: 0 / 0.5826 GB, free: 2.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003079/0.4386, allocations: 76.03 kB / 0.5826 GB, free: 2.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.4387, allocations: 56.19 kB / 0.5827 GB, free: 2.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.4387, allocations: 103.2 kB / 0.5828 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4387, allocations: 26.27 kB / 0.5828 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.4388, allocations: 81.38 kB / 0.5829 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.4388, allocations: 5.484 kB / 0.5829 GB, free: 1.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.4388, allocations: 16.27 kB / 0.5829 GB, free: 1.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.4389, allocations: 315.6 kB / 0.5832 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.4389, allocations: 9.125 kB / 0.5832 GB, free: 1.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.439, allocations: 18.11 kB / 0.5832 GB, free: 1.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.4392, allocations: 27.97 kB / 0.5833 GB, free: 1.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4392, allocations: 0.7031 kB / 0.5833 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.4394, allocations: 67.25 kB / 0.5833 GB, free: 1.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4394, allocations: 9.297 kB / 0.5833 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4394, allocations: 4.656 kB / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4394, allocations: 0 / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4395, allocations: 8.797 kB / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4395, allocations: 1.094 kB / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.4396, allocations: 2.203 kB / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4396, allocations: 2.922 kB / 0.5833 GB, free: 1.426 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.978e-05/0.4397, allocations: 110.2 kB / 0.5834 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.4397, allocations: 7.938 kB / 0.5835 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4397, allocations: 13.12 kB / 0.5835 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4398, allocations: 0.5312 kB / 0.5835 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4398, allocations: 0.7031 kB / 0.5835 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4398, allocations: 1.469 kB / 0.5835 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.283e-05/0.4398, allocations: 154.5 kB / 0.5836 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4398, allocations: 4 kB / 0.5836 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.4399, allocations: 8.109 kB / 0.5836 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4399, allocations: 5.5 kB / 0.5836 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.44, allocations: 9.062 kB / 0.5836 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.44, allocations: 1 kB / 0.5836 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.44, allocations: 8.484 kB / 0.5837 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.4402, allocations: 77.31 kB / 0.5837 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.4402, allocations: 88.83 kB / 0.5838 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.4402, allocations: 5.344 kB / 0.5838 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.4403, allocations: 3.703 kB / 0.5838 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.4403, allocations: 0.6094 kB / 0.5838 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4403, allocations: 3.609 kB / 0.5838 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.032e-05/0.4404, allocations: 78.58 kB / 0.5839 GB, free: 0.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4404, allocations: 0 / 0.5839 GB, free: 0.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000211/0.4406, allocations: 10.72 kB / 0.5839 GB, free: 0.832 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 (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 Backend phase and start with SimCode phase: time 0.0001398/0.4407, allocations: 122.3 kB / 0.584 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.4409, allocations: 35.42 kB / 0.5841 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4409, allocations: 0 / 0.5841 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.022e-05/0.441, allocations: 12.64 kB / 0.5841 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.4412, allocations: 8.734 kB / 0.5841 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.4416, allocations: 130.6 kB / 0.5842 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4417, allocations: 0.674 MB / 0.5849 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.4418, allocations: 8.453 kB / 0.5849 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.4419, allocations: 15.5 kB / 0.5849 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4419, allocations: 0 / 0.5849 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002874/0.4447, allocations: 0.7093 MB / 0.5856 GB, free: 15.81 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)