Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00704/0.00704, allocations: 103 kB / 15.73 MB, free: 6.035 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.001183/0.001183, allocations: 200.2 kB / 16.68 MB, free: 5.957 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.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4092/0.4092, allocations: 54.94 MB / 324.8 MB, free: 64 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.001517/0.001517, allocations: 74.7 kB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 59.6 MB / 0.5038 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002557/0.1387, allocations: 1.381 MB / 0.5051 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1398, allocations: 0.5803 MB / 0.5057 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.1399, allocations: 1.375 kB / 0.5057 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.1399, allocations: 3.938 kB / 0.5057 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.14, allocations: 13.3 kB / 0.5057 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1404, allocations: 88.45 kB / 0.5058 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.1405, allocations: 29.55 kB / 0.5058 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1407, allocations: 2.75 kB / 0.5058 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.1407, allocations: 16.09 kB / 0.5059 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.1408, allocations: 12.05 kB / 0.5059 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1408, allocations: 1.375 kB / 0.5059 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.1412, allocations: 136.7 kB / 0.506 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1412, allocations: 11.98 kB / 0.506 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1412, allocations: 14.67 kB / 0.506 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1415, allocations: 103 kB / 0.5061 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1415, allocations: 1.812 kB / 0.5061 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1415, allocations: 0 / 0.5061 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1415, allocations: 0 / 0.5061 GB, free: 8.109 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.0004759/0.142, allocations: 357.7 kB / 0.5065 GB, free: 7.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.142, allocations: 9.781 kB / 0.5065 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.1425, allocations: 28.69 kB / 0.5065 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.1426, allocations: 170.2 kB / 0.5067 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1426, allocations: 1.281 kB / 0.5067 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1426, allocations: 1.438 kB / 0.5067 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1428, allocations: 65.95 kB / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1429, allocations: 0 / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1429, allocations: 9.031 kB / 0.5067 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1429, allocations: 0 / 0.5067 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.1432, allocations: 55.78 kB / 0.5068 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1436, allocations: 276.1 kB / 0.5071 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1438, allocations: 56.7 kB / 0.5071 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.144, allocations: 31.02 kB / 0.5071 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.144, allocations: 7.969 kB / 0.5072 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.144, allocations: 39.88 kB / 0.5072 GB, free: 7.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.144, allocations: 0 / 0.5072 GB, free: 7.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005177/0.1446, allocations: 115.4 kB / 0.5073 GB, free: 6.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1446, allocations: 51.53 kB / 0.5074 GB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.1447, allocations: 102.7 kB / 0.5074 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1447, allocations: 30.95 kB / 0.5075 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.1447, allocations: 80.14 kB / 0.5076 GB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1448, allocations: 5.75 kB / 0.5076 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1448, allocations: 17.36 kB / 0.5076 GB, free: 6.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.1449, allocations: 322.8 kB / 0.5079 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.145, allocations: 29.62 kB / 0.5079 GB, free: 6.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1452, allocations: 26.56 kB / 0.5079 GB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.1454, allocations: 55.44 kB / 0.508 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1454, allocations: 64 / 0.508 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002848/0.1457, allocations: 94.62 kB / 0.5081 GB, free: 6.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1457, allocations: 6.156 kB / 0.5081 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1457, allocations: 0 / 0.5081 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1458, allocations: 0 / 0.5081 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1459, allocations: 11.48 kB / 0.5081 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1459, allocations: 5.344 kB / 0.5081 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.146, allocations: 16.8 kB / 0.5081 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.146, allocations: 1.094 kB / 0.5081 GB, free: 6.152 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.357e-05/0.1461, allocations: 111.1 kB / 0.5082 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1461, allocations: 5.266 kB / 0.5082 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.1461, allocations: 4.344 kB / 0.5082 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1462, allocations: 5.5 kB / 0.5082 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1462, allocations: 3.938 kB / 0.5082 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1462, allocations: 3.938 kB / 0.5082 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1463, allocations: 176.4 kB / 0.5084 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1463, allocations: 0 / 0.5084 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1464, allocations: 12.05 kB / 0.5084 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1464, allocations: 3.984 kB / 0.5084 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1464, allocations: 1.219 kB / 0.5084 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1465, allocations: 0 / 0.5084 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1465, allocations: 1.125 kB / 0.5084 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1468, allocations: 188.9 kB / 0.5086 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.1468, allocations: 77.11 kB / 0.5087 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1468, allocations: 1.156 kB / 0.5087 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.147, allocations: 13.3 kB / 0.5087 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.147, allocations: 1.25 kB / 0.5087 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.147, allocations: 1.125 kB / 0.5087 GB, free: 5.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.147, allocations: 89.98 kB / 0.5088 GB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1471, allocations: 1.219 kB / 0.5088 GB, free: 5.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1473, allocations: 14.5 kB / 0.5088 GB, free: 5.434 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.0001729/0.1475, allocations: 109.5 kB / 0.5089 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1478, allocations: 62.05 kB / 0.509 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1478, allocations: 0 / 0.509 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.148, allocations: 33.09 kB / 0.509 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1483, allocations: 5.469 kB / 0.509 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.1487, allocations: 141.8 kB / 0.5091 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1489, allocations: 0.6734 MB / 0.5098 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.149, allocations: 10.69 kB / 0.5098 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.149, allocations: 16.92 kB / 0.5098 GB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.149, allocations: 0.6875 kB / 0.5098 GB, free: 4.43 MB / 382.1 MB Notification: Performance of Templates: time 0.002775/0.1518, allocations: 0.7854 MB / 0.5106 GB, free: 3.676 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)