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.001014/0.001014, allocations: 100 kB / 15.05 MB, free: 1.105 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.001078/0.001078, allocations: 177.3 kB / 15.95 MB, free: 216 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.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3927/0.3927, allocations: 54.98 MB / 325.4 MB, free: 0.6328 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.0005778/0.0005779, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3546, allocations: 60.72 MB / 457.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001736/0.3564, allocations: 0.9765 MB / 458.3 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.3573, allocations: 0.4927 MB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.3574, allocations: 2.875 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.3574, allocations: 1.094 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.3575, allocations: 6.719 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.358, allocations: 85.36 kB / 458.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.3581, allocations: 16.06 kB / 458.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.3582, allocations: 9.234 kB / 458.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.3582, allocations: 4.062 kB / 458.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.3583, allocations: 2.906 kB / 458.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3583, allocations: 5 kB / 458.9 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.3586, allocations: 155.5 kB / 459.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.3586, allocations: 2.969 kB / 459.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.3586, allocations: 33.7 kB / 459.1 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.3588, allocations: 67.81 kB / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3588, allocations: 0 / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3588, allocations: 3.031 kB / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3588, allocations: 0.9062 kB / 459.2 MB, free: 37.85 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.0003084/0.3592, allocations: 343.9 kB / 459.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3592, allocations: 9.062 kB / 459.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.3596, allocations: 26.56 kB / 459.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.3597, allocations: 165.3 kB / 459.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3597, allocations: 2.875 kB / 459.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3597, allocations: 0 / 459.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3599, allocations: 50.28 kB / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3599, allocations: 0 / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3599, allocations: 0 / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.36, allocations: 1.156 kB / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3601, allocations: 29.56 kB / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.3602, allocations: 157.6 kB / 459.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3604, allocations: 42.44 kB / 460 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3604, allocations: 4.344 kB / 460 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.3604, allocations: 31.56 kB / 460 MB, free: 37.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3605, allocations: 0 / 460 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002952/0.3608, allocations: 79.25 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.3608, allocations: 51.41 kB / 460.1 MB, free: 36.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.3609, allocations: 108 kB / 460.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3609, allocations: 25.7 kB / 460.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.3609, allocations: 84.08 kB / 460.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3609, allocations: 2.344 kB / 460.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.361, allocations: 0.5625 kB / 460.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.361, allocations: 324.1 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.3611, allocations: 10.25 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.3611, allocations: 13.52 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.093e-05/0.3612, allocations: 13.3 kB / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3612, allocations: 0 / 460.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001584/0.3614, allocations: 60.38 kB / 460.8 MB, free: 36.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3614, allocations: 7.203 kB / 460.8 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3614, allocations: 0.5938 kB / 460.8 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3614, allocations: 3.938 kB / 460.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3616, allocations: 10.89 kB / 460.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3616, allocations: 1.312 kB / 460.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.3617, allocations: 2.656 kB / 460.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3617, allocations: 9.734 kB / 460.8 MB, free: 36.34 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 7.569e-05/0.3618, allocations: 107.9 kB / 460.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.3618, allocations: 7.672 kB / 460.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.3618, allocations: 4.875 kB / 460.9 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3618, allocations: 0 / 460.9 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3618, allocations: 1.719 kB / 460.9 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3619, allocations: 0.6094 kB / 460.9 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.362, allocations: 159.8 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.362, allocations: 0 / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.3621, allocations: 11.83 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3621, allocations: 1.031 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3621, allocations: 3.844 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3621, allocations: 3.406 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3621, allocations: 0 / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3623, allocations: 91.08 kB / 461.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.3624, allocations: 80.53 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3624, allocations: 1.5 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.3625, allocations: 7.219 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.3625, allocations: 0.75 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3625, allocations: 6 kB / 461.3 MB, free: 35.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.3625, allocations: 85.84 kB / 461.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3626, allocations: 0 / 461.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3628, allocations: 11.09 kB / 461.4 MB, free: 35.79 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.0001902/0.363, allocations: 117.3 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.3632, allocations: 27.23 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3632, allocations: 0 / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3632, allocations: 26.23 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.3634, allocations: 11.98 kB / 461.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.3638, allocations: 124.9 kB / 461.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.3639, allocations: 0.678 MB / 462.4 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.364, allocations: 6.938 kB / 462.4 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.3641, allocations: 10.19 kB / 462.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3641, allocations: 4 kB / 462.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002984/0.3671, allocations: 0.693 MB / 463.1 MB, free: 34.85 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: