Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 99.62 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.001014/0.001014, 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.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4404/0.4404, allocations: 54.97 MB / 325.4 MB, free: 0.6875 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.0005611/0.0005615, allocations: 20 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3751, allocations: 60.72 MB / 457.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001325/0.3765, allocations: 1.106 MB / 458.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000356/0.3769, allocations: 192.8 kB / 458.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.3769, allocations: 0 / 458.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.3769, allocations: 3.938 kB / 458.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.377, allocations: 6.078 kB / 458.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3772, allocations: 17.44 kB / 458.6 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.3773, allocations: 20.22 kB / 458.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.3773, allocations: 5.156 kB / 458.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.3774, allocations: 13.7 kB / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.3774, allocations: 12.16 kB / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3775, allocations: 0 / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.3776, allocations: 23.55 kB / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.3776, allocations: 6.859 kB / 458.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.3776, allocations: 25.7 kB / 458.7 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.501e-05/0.3777, allocations: 26.88 kB / 458.8 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3777, allocations: 5.031 kB / 458.8 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3777, allocations: 0 / 458.8 MB, free: 38.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3777, allocations: 1.969 kB / 458.8 MB, free: 38.28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000391/0.3781, allocations: 345.2 kB / 459.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3782, allocations: 11.28 kB / 459.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3783, allocations: 3.406 kB / 459.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.641e-05/0.3784, allocations: 169.7 kB / 459.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3784, allocations: 2.875 kB / 459.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.3784, allocations: 0 / 459.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3786, allocations: 58.81 kB / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3786, allocations: 0 / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3786, allocations: 0 / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3786, allocations: 0 / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3788, allocations: 42.81 kB / 459.4 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.3791, allocations: 253.2 kB / 459.6 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3792, allocations: 44.12 kB / 459.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3793, allocations: 0 / 459.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3793, allocations: 35.78 kB / 459.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.3793, allocations: 1.688 kB / 459.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3796, allocations: 103.8 kB / 459.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3797, allocations: 52.19 kB / 459.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.004e-05/0.3797, allocations: 103.1 kB / 460 MB, free: 37.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.3798, allocations: 25.7 kB / 460 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.3798, allocations: 84.52 kB / 460.1 MB, free: 37.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.3798, allocations: 11.34 kB / 460.1 MB, free: 37.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.3798, allocations: 0.6875 kB / 460.1 MB, free: 37.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.3799, allocations: 320.1 kB / 460.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.38, allocations: 20.28 kB / 460.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.38, allocations: 28.36 kB / 460.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.3801, allocations: 22.98 kB / 460.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3801, allocations: 0 / 460.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.3803, allocations: 78.58 kB / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3804, allocations: 6.031 kB / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3804, allocations: 0 / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3804, allocations: 0 / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.3805, allocations: 20.41 kB / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3805, allocations: 0 / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.3806, allocations: 16.12 kB / 460.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3806, allocations: 0 / 460.6 MB, free: 36.7 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 4.825e-05/0.3806, allocations: 105.8 kB / 460.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3807, allocations: 7.812 kB / 460.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.3809, allocations: 90 kB / 460.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3809, allocations: 0 / 460.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3809, allocations: 12.41 kB / 460.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3809, allocations: 0 / 460.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.381, allocations: 161.2 kB / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3811, allocations: 0 / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.3811, allocations: 11.95 kB / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3812, allocations: 2.062 kB / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3812, allocations: 3.938 kB / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3812, allocations: 2.812 kB / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3812, allocations: 1.859 kB / 461 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.3814, allocations: 179.5 kB / 461.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.3814, allocations: 77.62 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3814, allocations: 4.5 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.3815, allocations: 10.91 kB / 461.2 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3816, allocations: 6.359 kB / 461.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3816, allocations: 0 / 461.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.3816, allocations: 79.58 kB / 461.3 MB, free: 36.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3816, allocations: 3.938 kB / 461.3 MB, free: 36.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.3818, allocations: 13.8 kB / 461.4 MB, free: 36.03 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 (3): * Single equations (assignments): 3 * 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 7.579e-05/0.3819, allocations: 93.59 kB / 461.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3821, allocations: 51.47 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3821, allocations: 1.75 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.3822, allocations: 33 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.3825, allocations: 2.75 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.3827, allocations: 131.8 kB / 461.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3828, allocations: 0.6793 MB / 462.3 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.3829, allocations: 11.61 kB / 462.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.3829, allocations: 7.438 kB / 462.4 MB, free: 35.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3829, allocations: 0 / 462.4 MB, free: 35.12 MB / 382.1 MB Notification: Performance of Templates: time 0.002218/0.3851, allocations: 410.4 kB / 462.8 MB, free: 35.11 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: