Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0008181/0.0008181, allocations: 91.28 kB / 15.06 MB, free: 1.078 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.0008889/0.0008891, allocations: 176.7 kB / 15.95 MB, free: 188 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4888/0.4888, allocations: 55.02 MB / 325.4 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006156/0.0006158, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4574, allocations: 60.72 MB / 457.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001303/0.4588, allocations: 0.995 MB / 458.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007587/0.4596, allocations: 0.5233 MB / 458.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.4596, allocations: 2.188 kB / 458.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.4596, allocations: 2.5 kB / 458.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.4597, allocations: 12.22 kB / 458.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.46, allocations: 68.59 kB / 459 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.4601, allocations: 23.38 kB / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.4601, allocations: 0 / 459 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.238e-05/0.4602, allocations: 11.09 kB / 459 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.4602, allocations: 5.688 kB / 459 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.4603, allocations: 2.562 kB / 459 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.4605, allocations: 146.2 kB / 459.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.4605, allocations: 4.125 kB / 459.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.4606, allocations: 25.7 kB / 459.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.4607, allocations: 67.62 kB / 459.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4607, allocations: 3.219 kB / 459.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4607, allocations: 4.359 kB / 459.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.4607, allocations: 0.5 kB / 459.3 MB, free: 38.08 MB / 382.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.0003023/0.4611, allocations: 339.7 kB / 459.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4611, allocations: 11.16 kB / 459.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.4615, allocations: 30.06 kB / 459.6 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.793e-05/0.4616, allocations: 168.9 kB / 459.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4616, allocations: 0.9375 kB / 459.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4616, allocations: 0.9375 kB / 459.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4618, allocations: 51.52 kB / 459.8 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4618, allocations: 0 / 459.8 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4618, allocations: 3.281 kB / 459.9 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4618, allocations: 0.5312 kB / 459.9 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4619, allocations: 21.47 kB / 459.9 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.4621, allocations: 161.8 kB / 460 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4622, allocations: 45.22 kB / 460.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.4623, allocations: 21.17 kB / 460.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4623, allocations: 2 kB / 460.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.4623, allocations: 35.06 kB / 460.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4623, allocations: 0.7812 kB / 460.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002651/0.4626, allocations: 71.36 kB / 460.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.4626, allocations: 55.34 kB / 460.3 MB, free: 37.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.4627, allocations: 105.2 kB / 460.4 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.4627, allocations: 29.58 kB / 460.4 MB, free: 37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.648e-05/0.4627, allocations: 80.14 kB / 460.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.4628, allocations: 3.094 kB / 460.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4628, allocations: 2.844 kB / 460.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.4628, allocations: 310.8 kB / 460.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.4629, allocations: 12.27 kB / 460.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.463, allocations: 13.28 kB / 460.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.553e-05/0.463, allocations: 14.97 kB / 460.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.463, allocations: 2.75 kB / 460.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000135/0.4632, allocations: 64.2 kB / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4632, allocations: 5.969 kB / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4632, allocations: 1.719 kB / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4632, allocations: 0 / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.4633, allocations: 9.172 kB / 460.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4633, allocations: 3.938 kB / 460.9 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.4634, allocations: 9.766 kB / 460.9 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4634, allocations: 3.469 kB / 460.9 MB, free: 36.56 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.4635, allocations: 109.2 kB / 461 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.4635, allocations: 2.906 kB / 461 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.4635, allocations: 3.125 kB / 461 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4635, allocations: 0.6562 kB / 461 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4636, allocations: 4.031 kB / 461 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4636, allocations: 1.219 kB / 461 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.172e-05/0.4636, allocations: 159.4 kB / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4637, allocations: 0 / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.4637, allocations: 15.77 kB / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4637, allocations: 3.281 kB / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4637, allocations: 4.562 kB / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4638, allocations: 3.219 kB / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4638, allocations: 0 / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.4639, allocations: 86.53 kB / 461.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.464, allocations: 87.8 kB / 461.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.464, allocations: 4.969 kB / 461.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.4641, allocations: 0 / 461.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.4641, allocations: 6.141 kB / 461.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.4641, allocations: 0 / 461.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.227e-05/0.4641, allocations: 78.16 kB / 461.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4641, allocations: 256 / 461.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000208/0.4644, allocations: 16.97 kB / 461.5 MB, free: 36 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/0.4645, allocations: 115.1 kB / 461.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.4647, allocations: 28.81 kB / 461.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4647, allocations: 0 / 461.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.4648, allocations: 16.34 kB / 461.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.465, allocations: 14.48 kB / 461.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.4653, allocations: 124.3 kB / 461.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.4654, allocations: 0.6721 MB / 462.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.4655, allocations: 13.16 kB / 462.5 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4656, allocations: 13.48 kB / 462.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4656, allocations: 3.938 kB / 462.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of Templates: time 0.002878/0.4685, allocations: 0.7041 MB / 463.2 MB, free: 35.05 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: