Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0103/0.0103, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001445/0.001445, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2688/0.2688, allocations: 54.96 MB / 324.9 MB, free: 4.84 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.001464/0.001464, allocations: 75.89 kB / 456.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1527, allocations: 59.6 MB / 0.5037 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003951/0.1567, allocations: 1.474 MB / 0.5051 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.158, allocations: 0.7264 MB / 0.5058 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.1581, allocations: 3.938 kB / 0.5058 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.1582, allocations: 3.938 kB / 0.5059 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.1582, allocations: 15.91 kB / 0.5059 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.1587, allocations: 119.5 kB / 0.506 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.1588, allocations: 47.8 kB / 0.506 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1589, allocations: 23.91 kB / 0.5061 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.159, allocations: 23.92 kB / 0.5061 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.1591, allocations: 19.92 kB / 0.5061 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1591, allocations: 4 kB / 0.5061 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.1594, allocations: 163.8 kB / 0.5063 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1594, allocations: 11.88 kB / 0.5063 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1595, allocations: 27.86 kB / 0.5063 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1597, allocations: 135.7 kB / 0.5064 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1597, allocations: 0 / 0.5064 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1598, allocations: 3.938 kB / 0.5064 GB, free: 4.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1598, allocations: 0 / 0.5064 GB, free: 4.277 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006025/0.1604, allocations: 391.2 kB / 0.5068 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1604, allocations: 12.03 kB / 0.5068 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1605, allocations: 0.9375 kB / 0.5068 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1606, allocations: 176.3 kB / 0.507 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1606, allocations: 8.375 kB / 0.507 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1606, allocations: 384 / 0.507 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1609, allocations: 77.77 kB / 0.5071 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1609, allocations: 0 / 0.5071 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.161, allocations: 0 / 0.5071 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.161, allocations: 4 kB / 0.5071 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1613, allocations: 75.84 kB / 0.5071 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1617, allocations: 288.7 kB / 0.5074 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1619, allocations: 54.55 kB / 0.5075 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1621, allocations: 48.84 kB / 0.5075 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.1623, allocations: 89.09 kB / 0.5076 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1623, allocations: 30.56 kB / 0.5076 GB, free: 2.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1623, allocations: 0 / 0.5076 GB, free: 2.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005428/0.1629, allocations: 133.5 kB / 0.5078 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1629, allocations: 51.41 kB / 0.5078 GB, free: 2.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.163, allocations: 119.6 kB / 0.5079 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.163, allocations: 25.7 kB / 0.5079 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1631, allocations: 88.14 kB / 0.508 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.1631, allocations: 7.906 kB / 0.508 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1632, allocations: 21.7 kB / 0.5081 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1633, allocations: 322.7 kB / 0.5084 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1634, allocations: 35.91 kB / 0.5084 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1636, allocations: 31.95 kB / 0.5084 GB, free: 1.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1639, allocations: 72.78 kB / 0.5085 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1639, allocations: 0 / 0.5085 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003012/0.1642, allocations: 101.8 kB / 0.5086 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1642, allocations: 8 kB / 0.5086 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1642, allocations: 0 / 0.5086 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1642, allocations: 3.938 kB / 0.5086 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1644, allocations: 15.98 kB / 0.5086 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1644, allocations: 7.984 kB / 0.5086 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.1645, allocations: 11.92 kB / 0.5086 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1645, allocations: 4 kB / 0.5086 GB, free: 1.766 MB / 398.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 (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 prepare postOptimizeDAE: time 8.328e-05/0.1646, allocations: 113.8 kB / 0.5087 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1646, allocations: 4 kB / 0.5088 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.165, allocations: 113.4 kB / 0.5089 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.165, allocations: 0 / 0.5089 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.165, allocations: 0 / 0.5089 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.165, allocations: 4 kB / 0.5089 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1652, allocations: 177.6 kB / 0.509 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1652, allocations: 0 / 0.509 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.1653, allocations: 15.98 kB / 0.509 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1653, allocations: 4 kB / 0.5091 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1653, allocations: 0 / 0.5091 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1653, allocations: 0 / 0.5091 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1653, allocations: 11.92 kB / 0.5091 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1657, allocations: 191.4 kB / 0.5092 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1657, allocations: 85.02 kB / 0.5093 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1658, allocations: 4 kB / 0.5093 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1659, allocations: 11.97 kB / 0.5093 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1659, allocations: 4 kB / 0.5093 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1659, allocations: 0 / 0.5093 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.166, allocations: 98.88 kB / 0.5094 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.166, allocations: 3.938 kB / 0.5094 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1663, allocations: 39.88 kB / 0.5095 GB, free: 0.7969 MB / 398.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 0.0002026/0.1665, allocations: 127.2 kB / 0.5096 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.1669, allocations: 71.86 kB / 0.5097 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1669, allocations: 0 / 0.5097 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1671, allocations: 31.97 kB / 0.5097 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1674, allocations: 19.92 kB / 0.5097 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.1677, allocations: 151.2 kB / 0.5099 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.168, allocations: 0.6807 MB / 0.5105 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.142e-05/0.1681, allocations: 4 kB / 0.5105 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1681, allocations: 15.44 kB / 0.5105 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1681, allocations: 3.938 kB / 0.5106 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004099/0.1722, allocations: 1.364 MB / 0.5119 GB, free: 14.28 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)