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.007273/0.007273, allocations: 102 kB / 15.73 MB, free: 5.555 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.001272/0.001272, allocations: 191.4 kB / 16.67 MB, free: 5.484 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4172/0.4172, allocations: 54.95 MB / 324.9 MB, free: 15.94 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.00144/0.00144, allocations: 71.61 kB / 456.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 59.6 MB / 0.5037 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002513/0.1408, allocations: 1.262 MB / 0.505 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009234/0.1417, allocations: 0.5467 MB / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.1418, allocations: 0 / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1418, allocations: 9.094 kB / 0.5055 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.1419, allocations: 4.969 kB / 0.5055 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1423, allocations: 95.34 kB / 0.5056 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.1424, allocations: 17.16 kB / 0.5056 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.1424, allocations: 5.109 kB / 0.5056 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/0.1425, allocations: 8.891 kB / 0.5056 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.1425, allocations: 10.81 kB / 0.5056 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1425, allocations: 1.312 kB / 0.5056 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.1428, allocations: 137.7 kB / 0.5058 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.1429, allocations: 7.984 kB / 0.5058 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1429, allocations: 8.75 kB / 0.5058 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1431, allocations: 91.19 kB / 0.5059 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1431, allocations: 4 kB / 0.5059 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1431, allocations: 0 / 0.5059 GB, free: 8.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1431, allocations: 0 / 0.5059 GB, free: 8.105 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.0003481/0.1435, allocations: 345.1 kB / 0.5062 GB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1435, allocations: 13.31 kB / 0.5062 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/0.1439, allocations: 29.75 kB / 0.5062 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.144, allocations: 169.7 kB / 0.5064 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.144, allocations: 4.375 kB / 0.5064 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1441, allocations: 5.688 kB / 0.5064 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1442, allocations: 44.64 kB / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1442, allocations: 1.469 kB / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1442, allocations: 4 kB / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1443, allocations: 0 / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1444, allocations: 24.62 kB / 0.5065 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1445, allocations: 157.6 kB / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1447, allocations: 51.55 kB / 0.5067 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.1448, allocations: 11.86 kB / 0.5067 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1448, allocations: 5.234 kB / 0.5067 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.1448, allocations: 44.5 kB / 0.5068 GB, free: 7.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1448, allocations: 0 / 0.5068 GB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002958/0.1451, allocations: 72.44 kB / 0.5068 GB, free: 7.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1452, allocations: 55.34 kB / 0.5069 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.1452, allocations: 94.33 kB / 0.507 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1452, allocations: 25.7 kB / 0.507 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.1453, allocations: 80.14 kB / 0.5071 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1453, allocations: 9.359 kB / 0.5071 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1453, allocations: 16.89 kB / 0.5071 GB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.1454, allocations: 316.6 kB / 0.5074 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.1454, allocations: 13.08 kB / 0.5074 GB, free: 6.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.1455, allocations: 10.39 kB / 0.5074 GB, free: 6.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1456, allocations: 29.94 kB / 0.5074 GB, free: 6.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1457, allocations: 1.406 kB / 0.5074 GB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001569/0.1458, allocations: 66.23 kB / 0.5075 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1458, allocations: 5.5 kB / 0.5075 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1459, allocations: 1.281 kB / 0.5075 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1459, allocations: 0 / 0.5075 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.146, allocations: 9.484 kB / 0.5075 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.146, allocations: 0 / 0.5075 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.1461, allocations: 5.359 kB / 0.5075 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1461, allocations: 9.344 kB / 0.5075 GB, free: 6.363 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.031e-05/0.1461, allocations: 111.2 kB / 0.5076 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.1461, allocations: 5.312 kB / 0.5076 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1462, allocations: 4.5 kB / 0.5077 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1462, allocations: 4.125 kB / 0.5077 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1462, allocations: 1.375 kB / 0.5077 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1462, allocations: 3.984 kB / 0.5077 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.153e-05/0.1463, allocations: 161.8 kB / 0.5078 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1463, allocations: 0 / 0.5078 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.1464, allocations: 9.438 kB / 0.5078 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1464, allocations: 0 / 0.5078 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1464, allocations: 5.359 kB / 0.5078 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1464, allocations: 0 / 0.5078 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1464, allocations: 0 / 0.5078 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1466, allocations: 92.25 kB / 0.5079 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1466, allocations: 86.41 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1467, allocations: 1.375 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.1467, allocations: 1.375 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1467, allocations: 5.375 kB / 0.508 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1467, allocations: 5.359 kB / 0.508 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.774e-05/0.1468, allocations: 76.66 kB / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1468, allocations: 1.375 kB / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.147, allocations: 18.97 kB / 0.5081 GB, free: 5.738 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.000138/0.1471, allocations: 113.2 kB / 0.5082 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1473, allocations: 28.47 kB / 0.5082 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1473, allocations: 0 / 0.5082 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.1474, allocations: 24.23 kB / 0.5083 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1476, allocations: 8.125 kB / 0.5083 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.148, allocations: 121.9 kB / 0.5084 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.1481, allocations: 0.6769 MB / 0.509 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.1482, allocations: 14.75 kB / 0.5091 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1482, allocations: 8.812 kB / 0.5091 GB, free: 4.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1482, allocations: 1.375 kB / 0.5091 GB, free: 4.766 MB / 382.1 MB Notification: Performance of Templates: time 0.002872/0.1511, allocations: 0.7464 MB / 0.5098 GB, free: 4.348 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)