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.001769/0.001769, 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.00184/0.00184, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.643/1.643, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4256/0.4256, allocations: 54.94 MB / 324.7 MB, free: 12 kB / 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.001697/0.001697, allocations: 71.89 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1411, allocations: 59.6 MB / 454.9 MB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.2207/0.3618, allocations: 1.26 MB / 456.2 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.3626, allocations: 0.5462 MB / 456.7 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.3626, allocations: 0.6562 kB / 456.7 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3627, allocations: 5.25 kB / 456.7 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.3627, allocations: 9.234 kB / 456.8 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3631, allocations: 95.48 kB / 456.8 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.809e-05/0.3631, allocations: 18.88 kB / 456.9 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.3632, allocations: 6.125 kB / 456.9 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.3632, allocations: 6.156 kB / 456.9 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.3633, allocations: 14.55 kB / 456.9 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3633, allocations: 0 / 456.9 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.3636, allocations: 141.6 kB / 457 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.3636, allocations: 3.938 kB / 457 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.3636, allocations: 10.69 kB / 457 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3638, allocations: 94.52 kB / 457.1 MB, free: 39.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3638, allocations: 0 / 457.1 MB, free: 39.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3638, allocations: 1 kB / 457.1 MB, free: 39.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3638, allocations: 0 / 457.1 MB, free: 39.52 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.0002984/0.3641, allocations: 353.2 kB / 457.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.3641, allocations: 8.031 kB / 457.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.3646, allocations: 29.78 kB / 457.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.3646, allocations: 166.5 kB / 457.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3647, allocations: 384 / 457.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3647, allocations: 384 / 457.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3648, allocations: 54.3 kB / 457.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3649, allocations: 0 / 457.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3649, allocations: 1.312 kB / 457.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3649, allocations: 4.531 kB / 457.7 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.365, allocations: 23.81 kB / 457.8 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.3652, allocations: 158.5 kB / 457.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3653, allocations: 44.02 kB / 458 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.3654, allocations: 18.75 kB / 458 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3654, allocations: 3.5 kB / 458 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3654, allocations: 35.81 kB / 458 MB, free: 38.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3654, allocations: 0 / 458 MB, free: 38.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002931/0.3657, allocations: 68.59 kB / 458.1 MB, free: 38.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3658, allocations: 63.25 kB / 458.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.3658, allocations: 97.55 kB / 458.2 MB, free: 38.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.3659, allocations: 25.7 kB / 458.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.3659, allocations: 80.7 kB / 458.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3659, allocations: 9.25 kB / 458.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.366, allocations: 19.58 kB / 458.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.366, allocations: 311.8 kB / 458.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.3661, allocations: 13.66 kB / 458.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.3661, allocations: 10.94 kB / 458.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3663, allocations: 35.98 kB / 458.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3663, allocations: 0.5 kB / 458.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001567/0.3664, allocations: 63.05 kB / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3665, allocations: 6.594 kB / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3665, allocations: 0 / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3665, allocations: 3.656 kB / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.3666, allocations: 9.625 kB / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3666, allocations: 4.844 kB / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.3667, allocations: 0 / 458.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3667, allocations: 2.656 kB / 458.8 MB, free: 37.98 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 5.151e-05/0.3667, allocations: 114.7 kB / 458.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3668, allocations: 6.469 kB / 458.9 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.3668, allocations: 5.906 kB / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3668, allocations: 1.312 kB / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3668, allocations: 2.75 kB / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3668, allocations: 3.422 kB / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.971e-05/0.3669, allocations: 152.7 kB / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3669, allocations: 1.219 kB / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.367, allocations: 12.98 kB / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.367, allocations: 0 / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.367, allocations: 8.516 kB / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.367, allocations: 0 / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.367, allocations: 0 / 459.1 MB, free: 37.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.3672, allocations: 82.66 kB / 459.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.3673, allocations: 94.58 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3673, allocations: 3.422 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.3674, allocations: 10.94 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.3674, allocations: 1.406 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3674, allocations: 2.906 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.3674, allocations: 78.98 kB / 459.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3674, allocations: 0 / 459.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.3676, allocations: 17.25 kB / 459.4 MB, free: 37.42 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.0001385/0.3678, allocations: 110.8 kB / 459.5 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.368, allocations: 33.02 kB / 459.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.368, allocations: 0 / 459.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.368, allocations: 13.78 kB / 459.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3683, allocations: 18.89 kB / 459.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3686, allocations: 116.5 kB / 459.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3687, allocations: 0.6758 MB / 460.4 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.3688, allocations: 14.19 kB / 460.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.3689, allocations: 14.28 kB / 460.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3689, allocations: 0.5625 kB / 460.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of Templates: time 0.002529/0.3714, allocations: 0.737 MB / 461.1 MB, free: 36.48 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)