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.001045/0.001045, 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.001216/0.001216, allocations: 191.8 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.31 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4268, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002504/0.4293, allocations: 1.277 MB / 0.5813 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.4302, allocations: 0.5787 MB / 0.5819 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.4303, allocations: 0 / 0.5819 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.4303, allocations: 4.641 kB / 0.5819 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.4304, allocations: 7.406 kB / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.4308, allocations: 97.09 kB / 0.582 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.4309, allocations: 23 kB / 0.582 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.4309, allocations: 1.688 kB / 0.582 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.431, allocations: 4.609 kB / 0.582 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.431, allocations: 8.703 kB / 0.582 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.431, allocations: 0.9375 kB / 0.582 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.4313, allocations: 141.5 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.4314, allocations: 0.75 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.4314, allocations: 8.312 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4316, allocations: 94.73 kB / 0.5823 GB, free: 3.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4316, allocations: 0 / 0.5823 GB, free: 3.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4316, allocations: 0 / 0.5823 GB, free: 3.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.4316, allocations: 0 / 0.5823 GB, free: 3.125 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.0003209/0.432, allocations: 349.7 kB / 0.5826 GB, free: 2.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.432, allocations: 10.23 kB / 0.5826 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.4324, allocations: 26.69 kB / 0.5826 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.524e-05/0.4325, allocations: 170.3 kB / 0.5828 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4325, allocations: 9.438 kB / 0.5828 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4326, allocations: 1.672 kB / 0.5828 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.4327, allocations: 48.5 kB / 0.5829 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4327, allocations: 192 / 0.5829 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4328, allocations: 3.938 kB / 0.5829 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4328, allocations: 4.875 kB / 0.5829 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.4329, allocations: 26.77 kB / 0.5829 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.433, allocations: 158 kB / 0.583 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.4332, allocations: 44.02 kB / 0.5831 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.4333, allocations: 18.77 kB / 0.5831 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4333, allocations: 8.641 kB / 0.5831 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.4333, allocations: 31.72 kB / 0.5831 GB, free: 2.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4333, allocations: 0 / 0.5831 GB, free: 2.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002935/0.4336, allocations: 72.17 kB / 0.5832 GB, free: 2.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.4336, allocations: 56.89 kB / 0.5833 GB, free: 2.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.168e-05/0.4337, allocations: 107.1 kB / 0.5834 GB, free: 1.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.4337, allocations: 26.55 kB / 0.5834 GB, free: 1.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.4337, allocations: 80.7 kB / 0.5835 GB, free: 1.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4338, allocations: 6.422 kB / 0.5835 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.4338, allocations: 18.58 kB / 0.5835 GB, free: 1.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.4339, allocations: 313.3 kB / 0.5838 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.4339, allocations: 12.58 kB / 0.5838 GB, free: 1.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.434, allocations: 14.39 kB / 0.5838 GB, free: 1.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4341, allocations: 30.75 kB / 0.5839 GB, free: 1.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4341, allocations: 1.094 kB / 0.5839 GB, free: 1.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000168/0.4343, allocations: 63.72 kB / 0.5839 GB, free: 1.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4343, allocations: 9.312 kB / 0.5839 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4343, allocations: 3.938 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4343, allocations: 0.7188 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.4344, allocations: 8.125 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.4345, allocations: 1.375 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.4345, allocations: 2.547 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4345, allocations: 3.359 kB / 0.5839 GB, free: 1.461 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.709e-05/0.4346, allocations: 109 kB / 0.584 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4346, allocations: 4.938 kB / 0.5841 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.4347, allocations: 16.94 kB / 0.5841 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4347, allocations: 0.8125 kB / 0.5841 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.4347, allocations: 0.75 kB / 0.5841 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4347, allocations: 0.7812 kB / 0.5841 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.105e-05/0.4348, allocations: 154.9 kB / 0.5842 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4348, allocations: 0 / 0.5842 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.4349, allocations: 8.609 kB / 0.5842 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4349, allocations: 4.75 kB / 0.5842 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4349, allocations: 4.453 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4349, allocations: 1.422 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4349, allocations: 0.875 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.4351, allocations: 85.33 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.4351, allocations: 89.22 kB / 0.5844 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.4352, allocations: 9.516 kB / 0.5844 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.4352, allocations: 2.938 kB / 0.5844 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.4352, allocations: 1.75 kB / 0.5844 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4352, allocations: 1.906 kB / 0.5844 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.357e-05/0.4353, allocations: 83.25 kB / 0.5845 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4353, allocations: 0 / 0.5845 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000214/0.4355, allocations: 10.72 kB / 0.5845 GB, free: 0.8672 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.0001719/0.4357, allocations: 118 kB / 0.5846 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.4359, allocations: 27.77 kB / 0.5846 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4359, allocations: 0 / 0.5846 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.436, allocations: 21.36 kB / 0.5847 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.4362, allocations: 10.52 kB / 0.5847 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.4366, allocations: 115.8 kB / 0.5848 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4368, allocations: 0.6738 MB / 0.5854 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.7e-05/0.4369, allocations: 8.094 kB / 0.5855 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.4369, allocations: 15.62 kB / 0.5855 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4369, allocations: 0 / 0.5855 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Templates: time 0.003294/0.4402, allocations: 0.7272 MB / 0.5862 GB, free: 15.86 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)