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.00895/0.00895, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001748/0.001748, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.617/1.617, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4542/0.4542, allocations: 54.95 MB / 324.9 MB, free: 84 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.001481/0.001481, allocations: 69.53 kB / 456.3 MB, free: 39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 59.6 MB / 0.5038 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002094/0.1417, allocations: 1.258 MB / 0.505 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007848/0.1425, allocations: 0.5629 MB / 0.5056 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1426, allocations: 0 / 0.5056 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.1426, allocations: 3.984 kB / 0.5056 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.1426, allocations: 9.078 kB / 0.5056 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.143, allocations: 92.02 kB / 0.5057 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.1431, allocations: 20.73 kB / 0.5057 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.1432, allocations: 2.312 kB / 0.5057 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.1432, allocations: 8.016 kB / 0.5057 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.1433, allocations: 19.42 kB / 0.5057 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1433, allocations: 0 / 0.5057 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.1436, allocations: 130.7 kB / 0.5059 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1436, allocations: 7.984 kB / 0.5059 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1437, allocations: 8.609 kB / 0.5059 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1439, allocations: 94.59 kB / 0.506 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1439, allocations: 1.312 kB / 0.506 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1439, allocations: 0 / 0.506 GB, free: 8.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1439, allocations: 0 / 0.506 GB, free: 8.289 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.0004201/0.1443, allocations: 349.5 kB / 0.5063 GB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1444, allocations: 9.312 kB / 0.5063 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.1448, allocations: 28.92 kB / 0.5063 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/0.1449, allocations: 161.8 kB / 0.5065 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1449, allocations: 384 / 0.5065 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.145, allocations: 9.656 kB / 0.5065 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1451, allocations: 54 kB / 0.5066 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1452, allocations: 0 / 0.5066 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1452, allocations: 0 / 0.5066 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1452, allocations: 0 / 0.5066 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1453, allocations: 24.11 kB / 0.5066 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1455, allocations: 153.8 kB / 0.5067 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1457, allocations: 48.3 kB / 0.5068 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.1457, allocations: 15.72 kB / 0.5068 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1458, allocations: 1.375 kB / 0.5068 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1458, allocations: 43.88 kB / 0.5068 GB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1458, allocations: 0 / 0.5068 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003348/0.1461, allocations: 76.97 kB / 0.5069 GB, free: 7.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1462, allocations: 55.34 kB / 0.507 GB, free: 7.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.1463, allocations: 97.97 kB / 0.507 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1463, allocations: 25.7 kB / 0.5071 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.1463, allocations: 81.52 kB / 0.5071 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1464, allocations: 7.906 kB / 0.5072 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1464, allocations: 16.59 kB / 0.5072 GB, free: 6.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.1465, allocations: 316.2 kB / 0.5075 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.1466, allocations: 10.88 kB / 0.5075 GB, free: 6.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.1466, allocations: 9.484 kB / 0.5075 GB, free: 6.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1468, allocations: 38.64 kB / 0.5075 GB, free: 6.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1468, allocations: 0 / 0.5075 GB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001648/0.1469, allocations: 63.42 kB / 0.5076 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.147, allocations: 5.5 kB / 0.5076 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.147, allocations: 0 / 0.5076 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.147, allocations: 1.375 kB / 0.5076 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1471, allocations: 8.109 kB / 0.5076 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1471, allocations: 1.375 kB / 0.5076 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.1472, allocations: 5.406 kB / 0.5076 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1472, allocations: 1.375 kB / 0.5076 GB, free: 6.559 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 6.064e-05/0.1473, allocations: 111.2 kB / 0.5077 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1473, allocations: 13.2 kB / 0.5077 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.1474, allocations: 4.5 kB / 0.5077 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1474, allocations: 3.938 kB / 0.5077 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1474, allocations: 4 kB / 0.5077 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1474, allocations: 1.375 kB / 0.5077 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.928e-05/0.1475, allocations: 153.8 kB / 0.5079 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1475, allocations: 0 / 0.5079 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.1476, allocations: 13.42 kB / 0.5079 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1476, allocations: 192 / 0.5079 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1476, allocations: 1.375 kB / 0.5079 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1476, allocations: 3.938 kB / 0.5079 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1476, allocations: 0 / 0.5079 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1478, allocations: 92.33 kB / 0.508 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.1479, allocations: 82.42 kB / 0.5081 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1479, allocations: 3.984 kB / 0.5081 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.148, allocations: 2.75 kB / 0.5081 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.148, allocations: 1.375 kB / 0.5081 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.148, allocations: 0 / 0.5081 GB, free: 6.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.326e-05/0.1481, allocations: 86.06 kB / 0.5082 GB, free: 5.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 3.938 kB / 0.5082 GB, free: 5.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.1483, allocations: 18.92 kB / 0.5082 GB, free: 5.926 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.00015/0.1484, allocations: 106.4 kB / 0.5083 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1486, allocations: 32.78 kB / 0.5083 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1486, allocations: 4.062 kB / 0.5083 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.1487, allocations: 16.17 kB / 0.5083 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.149, allocations: 15.67 kB / 0.5084 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.1494, allocations: 123.5 kB / 0.5085 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.1495, allocations: 0.6753 MB / 0.5091 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.1496, allocations: 11.12 kB / 0.5091 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.1496, allocations: 13.92 kB / 0.5092 GB, free: 4.957 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1496, allocations: 0 / 0.5092 GB, free: 4.957 MB / 382.1 MB Notification: Performance of Templates: time 0.003032/0.1526, allocations: 0.7407 MB / 0.5099 GB, free: 4.371 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)