Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008601/0.008601, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001738/0.001738, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.563/1.563, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.407/0.407, allocations: 54.95 MB / 324.9 MB, free: 15.93 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.001502/0.001502, allocations: 75.02 kB / 456.2 MB, free: 38.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1532, allocations: 59.59 MB / 0.5037 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002626/0.1559, allocations: 1.239 MB / 0.5049 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000551/0.1565, allocations: 296.9 kB / 0.5052 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.1565, allocations: 0 / 0.5052 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1566, allocations: 0 / 0.5052 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.1566, allocations: 5.312 kB / 0.5052 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.157, allocations: 49.5 kB / 0.5053 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.1571, allocations: 20.17 kB / 0.5053 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.1572, allocations: 13.45 kB / 0.5053 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.1572, allocations: 4.125 kB / 0.5053 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.1573, allocations: 12.06 kB / 0.5053 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1573, allocations: 0 / 0.5053 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1575, allocations: 50.2 kB / 0.5054 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.1575, allocations: 7.984 kB / 0.5054 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1575, allocations: 8.062 kB / 0.5054 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1577, allocations: 44.7 kB / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1577, allocations: 0 / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1577, allocations: 0 / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1577, allocations: 0 / 0.5054 GB, free: 8.516 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003414/0.158, allocations: 339.9 kB / 0.5057 GB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1581, allocations: 9.625 kB / 0.5058 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.1583, allocations: 19.91 kB / 0.5058 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.1584, allocations: 164.3 kB / 0.5059 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1585, allocations: 13.69 kB / 0.5059 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1585, allocations: 5.688 kB / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1586, allocations: 45.11 kB / 0.506 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1586, allocations: 5.562 kB / 0.506 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1586, allocations: 3.938 kB / 0.506 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1586, allocations: 0 / 0.506 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.1587, allocations: 17.61 kB / 0.506 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1588, allocations: 157.8 kB / 0.5062 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.1608, allocations: 273.3 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.1609, allocations: 17.33 kB / 0.5064 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.1609, allocations: 0 / 0.5064 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.1609, allocations: 39.78 kB / 0.5065 GB, free: 7.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1609, allocations: 0 / 0.5065 GB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.1611, allocations: 65.3 kB / 0.5065 GB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.1612, allocations: 56.5 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.1612, allocations: 94.95 kB / 0.5067 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1613, allocations: 26.89 kB / 0.5067 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.1613, allocations: 84.08 kB / 0.5068 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.1613, allocations: 10.06 kB / 0.5068 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1614, allocations: 17 kB / 0.5068 GB, free: 7.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.1615, allocations: 314.8 kB / 0.5071 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.1615, allocations: 13.66 kB / 0.5071 GB, free: 6.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.1615, allocations: 8.5 kB / 0.5071 GB, free: 6.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.1616, allocations: 23.83 kB / 0.5072 GB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1616, allocations: 3.984 kB / 0.5072 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.433e-05/0.1617, allocations: 49.02 kB / 0.5072 GB, free: 6.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1617, allocations: 5.938 kB / 0.5072 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1617, allocations: 3.938 kB / 0.5072 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1617, allocations: 0 / 0.5072 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.1618, allocations: 13.42 kB / 0.5072 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1618, allocations: 1.406 kB / 0.5072 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.1619, allocations: 4 kB / 0.5072 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1619, allocations: 1.344 kB / 0.5072 GB, free: 6.734 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 (4): * Single equations (assignments): 4 * 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.007e-05/0.1619, allocations: 107.2 kB / 0.5073 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.162, allocations: 5.5 kB / 0.5073 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.162, allocations: 12.98 kB / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.162, allocations: 0 / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.162, allocations: 1.094 kB / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.162, allocations: 3.984 kB / 0.5074 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.208e-05/0.1621, allocations: 162.7 kB / 0.5075 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1621, allocations: 4 kB / 0.5075 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.1622, allocations: 10.45 kB / 0.5075 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1622, allocations: 0 / 0.5075 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1622, allocations: 3.938 kB / 0.5075 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1622, allocations: 1.812 kB / 0.5075 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1622, allocations: 0 / 0.5075 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1623, allocations: 80.72 kB / 0.5076 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1624, allocations: 79.55 kB / 0.5077 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1624, allocations: 15.94 kB / 0.5077 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.1625, allocations: 5.172 kB / 0.5077 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.1625, allocations: 2.625 kB / 0.5077 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.1625, allocations: 0 / 0.5077 GB, free: 6.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.02e-05/0.1625, allocations: 76.78 kB / 0.5078 GB, free: 6.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 3.938 kB / 0.5078 GB, free: 6.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1628, allocations: 6.688 kB / 0.5078 GB, free: 6.109 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 (4): * Single equations (assignments): 4 * 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.0001087/0.1629, allocations: 104.2 kB / 0.5079 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.163, allocations: 25.86 kB / 0.5079 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.163, allocations: 0 / 0.5079 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.163, allocations: 13.12 kB / 0.5079 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1633, allocations: 8.609 kB / 0.5079 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.1637, allocations: 127 kB / 0.5081 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.1639, allocations: 0.6767 MB / 0.5087 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.164, allocations: 5.391 kB / 0.5087 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.164, allocations: 10.25 kB / 0.5087 GB, free: 5.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.164, allocations: 4 kB / 0.5087 GB, free: 5.156 MB / 382.1 MB Notification: Performance of Templates: time 0.002929/0.1669, allocations: 0.5164 MB / 0.5092 GB, free: 4.883 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)