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.001197/0.001197, allocations: 108 kB / 15.61 MB, free: 152 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.001407/0.001407, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.494/1.494, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4103/0.4103, allocations: 54.95 MB / 324.7 MB, free: 15.89 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.001481/0.001481, allocations: 63.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 59.59 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.272/0.4101, allocations: 1.392 MB / 456.3 MB, free: 39.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004594/0.4106, allocations: 203.8 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.4107, allocations: 2.844 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.4107, allocations: 5.125 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.4108, allocations: 3.281 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.411, allocations: 28.8 kB / 456.5 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.4111, allocations: 29.84 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4112, allocations: 5.812 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.4112, allocations: 9.062 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.4113, allocations: 12.78 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.4113, allocations: 2.938 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.4114, allocations: 24.5 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.4114, allocations: 9.953 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.4114, allocations: 11.56 kB / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.4115, allocations: 30.06 kB / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4115, allocations: 0.9688 kB / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4115, allocations: 0 / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.4116, allocations: 3.5 kB / 456.7 MB, free: 39.1 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.0003608/0.4119, allocations: 343.2 kB / 457 MB, free: 38.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.412, allocations: 13.94 kB / 457 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.4121, allocations: 3.719 kB / 457 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.4122, allocations: 168.9 kB / 457.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.4122, allocations: 384 / 457.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.4122, allocations: 1.188 kB / 457.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4124, allocations: 50.28 kB / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4124, allocations: 192 / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4124, allocations: 10.84 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4124, allocations: 1.375 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.4126, allocations: 34.16 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.4129, allocations: 250.4 kB / 457.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.413, allocations: 43.75 kB / 457.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.4131, allocations: 22.84 kB / 457.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4132, allocations: 4.625 kB / 457.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.4132, allocations: 30.56 kB / 457.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4132, allocations: 2.25 kB / 457.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000357/0.4135, allocations: 84.03 kB / 457.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4136, allocations: 52.22 kB / 457.8 MB, free: 38.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.4137, allocations: 99.23 kB / 457.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.4137, allocations: 27.39 kB / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.4137, allocations: 90.81 kB / 458 MB, free: 37.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.4138, allocations: 10.53 kB / 458 MB, free: 37.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.4138, allocations: 12.44 kB / 458 MB, free: 37.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.4139, allocations: 314.8 kB / 458.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.4139, allocations: 15.91 kB / 458.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.414, allocations: 18.41 kB / 458.4 MB, free: 37.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.4142, allocations: 42.83 kB / 458.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4142, allocations: 0.6875 kB / 458.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.4144, allocations: 73.25 kB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4144, allocations: 5.406 kB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4144, allocations: 0 / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4144, allocations: 0 / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.4145, allocations: 11.44 kB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4145, allocations: 0.9062 kB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.4146, allocations: 5.594 kB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4146, allocations: 5.062 kB / 458.5 MB, free: 37.48 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.846e-05/0.4147, allocations: 117 kB / 458.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.4147, allocations: 1.438 kB / 458.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4149, allocations: 83.69 kB / 458.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4149, allocations: 0 / 458.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4149, allocations: 3.75 kB / 458.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4149, allocations: 0 / 458.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4151, allocations: 162.3 kB / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4151, allocations: 0.75 kB / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.4152, allocations: 13.11 kB / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4152, allocations: 0 / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4152, allocations: 3.75 kB / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4152, allocations: 0.8125 kB / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4152, allocations: 0.9375 kB / 458.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.4154, allocations: 173.5 kB / 459 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.4154, allocations: 83.67 kB / 459.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.4155, allocations: 2.25 kB / 459.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.4155, allocations: 6.641 kB / 459.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.4156, allocations: 3.781 kB / 459.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4156, allocations: 0.75 kB / 459.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.4156, allocations: 86.02 kB / 459.2 MB, free: 36.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4156, allocations: 0 / 459.2 MB, free: 36.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.4158, allocations: 7.125 kB / 459.2 MB, free: 36.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.28e-05/0.4159, allocations: 100.3 kB / 459.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.4162, allocations: 37.05 kB / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4162, allocations: 0 / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.4162, allocations: 22.77 kB / 459.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.4165, allocations: 9.156 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.4168, allocations: 123.9 kB / 459.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.4169, allocations: 0.6756 MB / 460.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.417, allocations: 7.844 kB / 460.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.417, allocations: 10.78 kB / 460.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.417, allocations: 0 / 460.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of Templates: time 0.002483/0.4195, allocations: 497.5 kB / 460.7 MB, free: 35.92 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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)