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.001299/0.001299, allocations: 109.4 kB / 15.69 MB, free: 128 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.001377/0.001377, allocations: 188.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4008/0.4008, allocations: 54.94 MB / 324.8 MB, free: 15.91 MB / 270.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.002838/0.002838, allocations: 71.91 kB / 396.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4363, allocations: 59.58 MB / 455.7 MB, free: 39.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002989/0.4394, allocations: 1.274 MB / 457 MB, free: 39.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.4403, allocations: 0.5606 MB / 457.5 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.4404, allocations: 0.75 kB / 457.5 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.4404, allocations: 0 / 457.5 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.4405, allocations: 2.625 kB / 457.5 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.4409, allocations: 95.66 kB / 457.6 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.441, allocations: 27.69 kB / 457.6 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.565e-05/0.4411, allocations: 2.094 kB / 457.6 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.4411, allocations: 5.219 kB / 457.6 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.4412, allocations: 10.61 kB / 457.7 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.4412, allocations: 0.6562 kB / 457.7 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.4416, allocations: 151.6 kB / 457.8 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.4416, allocations: 0 / 457.8 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.4416, allocations: 7.312 kB / 457.8 MB, free: 39.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.4419, allocations: 89.77 kB / 457.9 MB, free: 39.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.4419, allocations: 3.375 kB / 457.9 MB, free: 39.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4419, allocations: 1.188 kB / 457.9 MB, free: 39.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.4419, allocations: 0 / 457.9 MB, free: 39.32 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.000494/0.4424, allocations: 344.1 kB / 458.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4425, allocations: 12.81 kB / 458.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.443, allocations: 29.62 kB / 458.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4431, allocations: 163.8 kB / 458.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4431, allocations: 2.188 kB / 458.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4431, allocations: 3.688 kB / 458.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.4433, allocations: 57.84 kB / 458.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4434, allocations: 1.312 kB / 458.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4434, allocations: 0 / 458.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4434, allocations: 0 / 458.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.4435, allocations: 25.38 kB / 458.5 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.4437, allocations: 157.4 kB / 458.7 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.4439, allocations: 40.8 kB / 458.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.444, allocations: 20.45 kB / 458.7 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.444, allocations: 2.625 kB / 458.7 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.444, allocations: 43.28 kB / 458.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.444, allocations: 1.078 kB / 458.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000341/0.4444, allocations: 69.64 kB / 458.9 MB, free: 38.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.4444, allocations: 58.31 kB / 458.9 MB, free: 38.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.4445, allocations: 99.48 kB / 459 MB, free: 38.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.4445, allocations: 26.33 kB / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.4446, allocations: 81.42 kB / 459.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.4446, allocations: 9.156 kB / 459.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.4446, allocations: 14.88 kB / 459.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.4447, allocations: 319 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.4448, allocations: 7.188 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.4449, allocations: 12.89 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.445, allocations: 35.38 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.445, allocations: 0 / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001609/0.4452, allocations: 67.06 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4452, allocations: 5.562 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4452, allocations: 1.562 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4452, allocations: 6.219 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4454, allocations: 5.891 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4454, allocations: 1.484 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.4454, allocations: 2.781 kB / 459.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4455, allocations: 3.031 kB / 459.6 MB, free: 37.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.4455, allocations: 109.1 kB / 459.7 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4455, allocations: 6.672 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.4456, allocations: 9.969 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4456, allocations: 3.531 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4456, allocations: 0 / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4456, allocations: 0 / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.4457, allocations: 162 kB / 459.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4458, allocations: 2.531 kB / 459.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.4458, allocations: 14.19 kB / 459.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.4459, allocations: 0 / 459.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.4459, allocations: 0 / 459.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4459, allocations: 0 / 459.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4459, allocations: 4.219 kB / 459.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.4461, allocations: 88.7 kB / 460 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.4461, allocations: 88.33 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4462, allocations: 3.781 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.4462, allocations: 0 / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.4463, allocations: 8.141 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4463, allocations: 3.281 kB / 460.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.4463, allocations: 82.03 kB / 460.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4463, allocations: 0 / 460.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.4465, allocations: 14.53 kB / 460.2 MB, free: 37.21 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 (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.0001786/0.4467, allocations: 110.7 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.4469, allocations: 32.08 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4469, allocations: 0.75 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.447, allocations: 18.28 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4472, allocations: 3.531 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.4476, allocations: 123.8 kB / 460.5 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.4477, allocations: 0.6785 MB / 461.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.4478, allocations: 10.12 kB / 461.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.4478, allocations: 7.438 kB / 461.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4478, allocations: 0 / 461.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003159/0.451, allocations: 0.7391 MB / 461.9 MB, free: 36.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (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)