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.001077/0.001077, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009286/0.009286, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.774/1.774, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5118/0.5118, allocations: 55.01 MB / 325.8 MB, free: 0.6055 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.0008535/0.0008538, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4903, allocations: 60.72 MB / 458 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001508/0.4918, allocations: 1.002 MB / 459 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.4927, allocations: 0.5487 MB / 459.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.4927, allocations: 3.031 kB / 459.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.4928, allocations: 1.219 kB / 459.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.4928, allocations: 7.297 kB / 459.5 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.4931, allocations: 86.11 kB / 459.6 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.4932, allocations: 15.53 kB / 459.6 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.4933, allocations: 4.375 kB / 459.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.4933, allocations: 10.09 kB / 459.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.4933, allocations: 10.92 kB / 459.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.4934, allocations: 0 / 459.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.4937, allocations: 150.1 kB / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.4937, allocations: 3.469 kB / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.4937, allocations: 30.42 kB / 459.9 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.4939, allocations: 98.48 kB / 459.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4939, allocations: 1.438 kB / 459.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4939, allocations: 0 / 459.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.4939, allocations: 0 / 459.9 MB, free: 38.29 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.000328/0.4943, allocations: 344.5 kB / 460.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4943, allocations: 14.75 kB / 460.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.4947, allocations: 29.7 kB / 460.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.4948, allocations: 163.9 kB / 460.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4949, allocations: 1.25 kB / 460.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4949, allocations: 384 / 460.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.495, allocations: 57.88 kB / 460.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4951, allocations: 0 / 460.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4951, allocations: 0 / 460.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4951, allocations: 1.625 kB / 460.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4952, allocations: 23.64 kB / 460.6 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.4954, allocations: 157.1 kB / 460.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.4955, allocations: 41.52 kB / 460.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.4956, allocations: 18.05 kB / 460.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4956, allocations: 7.406 kB / 460.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4957, allocations: 38.44 kB / 460.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.4957, allocations: 0.8125 kB / 460.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003333/0.496, allocations: 77.62 kB / 460.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.4961, allocations: 51.41 kB / 461 MB, free: 37.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.4962, allocations: 104.2 kB / 461.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4962, allocations: 27.23 kB / 461.1 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.4962, allocations: 80.14 kB / 461.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.4963, allocations: 3.906 kB / 461.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.4963, allocations: 12.69 kB / 461.2 MB, free: 37.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4964, allocations: 319 kB / 461.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.4965, allocations: 7.25 kB / 461.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.4966, allocations: 13.77 kB / 461.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4967, allocations: 34.78 kB / 461.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4967, allocations: 1.281 kB / 461.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.4969, allocations: 67.56 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4969, allocations: 5.156 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4969, allocations: 1.125 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.497, allocations: 2.812 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4971, allocations: 7.812 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.4971, allocations: 0 / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.4972, allocations: 3.375 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4972, allocations: 1.125 kB / 461.6 MB, free: 36.73 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 9.78e-05/0.4973, allocations: 113.4 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4973, allocations: 4.75 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.4974, allocations: 8.344 kB / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4974, allocations: 3.453 kB / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4974, allocations: 5.062 kB / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4974, allocations: 1.094 kB / 461.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.4976, allocations: 157.6 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4976, allocations: 1.531 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.4977, allocations: 13.44 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4977, allocations: 0 / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4977, allocations: 0.9375 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4977, allocations: 1.906 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4977, allocations: 2 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.4979, allocations: 90.38 kB / 462 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.498, allocations: 89.41 kB / 462.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4981, allocations: 3.938 kB / 462.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.4981, allocations: 3.219 kB / 462.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.4981, allocations: 0 / 462.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4982, allocations: 3.328 kB / 462.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.577e-05/0.4982, allocations: 83.03 kB / 462.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.585e-06/0.4982, allocations: 0 / 462.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.4984, allocations: 19.94 kB / 462.2 MB, free: 36.16 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.0002885/0.4987, allocations: 114 kB / 462.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.4989, allocations: 24.09 kB / 462.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.499, allocations: 2.781 kB / 462.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.499, allocations: 18.59 kB / 462.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4993, allocations: 14.59 kB / 462.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.4997, allocations: 128.2 kB / 462.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.5, allocations: 0.6781 MB / 463.2 MB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.272e-05/0.5001, allocations: 12.75 kB / 463.2 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.5001, allocations: 7.438 kB / 463.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5001, allocations: 0.5625 kB / 463.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of Templates: time 0.003316/0.5034, allocations: 0.7042 MB / 463.9 MB, free: 35.23 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: