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.009334/0.009334, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001545/0.001545, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4396/0.4396, allocations: 54.95 MB / 324.9 MB, free: 15.96 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.001911/0.001911, allocations: 70.91 kB / 456.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1624, allocations: 59.59 MB / 0.5037 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002312/0.1648, allocations: 1.254 MB / 0.5049 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.1654, allocations: 289.6 kB / 0.5052 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.1655, allocations: 0 / 0.5052 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.1655, allocations: 0 / 0.5052 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.1656, allocations: 9.234 kB / 0.5052 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.166, allocations: 52.47 kB / 0.5053 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.166, allocations: 12.5 kB / 0.5053 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.1661, allocations: 10.34 kB / 0.5053 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.1662, allocations: 7.266 kB / 0.5053 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.1662, allocations: 11.23 kB / 0.5053 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1663, allocations: 1.125 kB / 0.5053 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1664, allocations: 53.3 kB / 0.5054 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.1664, allocations: 1.031 kB / 0.5054 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1665, allocations: 12.16 kB / 0.5054 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1666, allocations: 51.94 kB / 0.5054 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1667, allocations: 0 / 0.5054 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1667, allocations: 3.938 kB / 0.5054 GB, free: 8.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1667, allocations: 5.062 kB / 0.5054 GB, free: 8.332 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.0003689/0.167, allocations: 338 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1671, allocations: 9.75 kB / 0.5058 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.1673, allocations: 16.8 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.1674, allocations: 164.4 kB / 0.5059 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1674, allocations: 5.406 kB / 0.5059 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1675, allocations: 1.594 kB / 0.506 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1676, allocations: 42.31 kB / 0.506 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1676, allocations: 192 / 0.506 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1676, allocations: 11.88 kB / 0.506 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1676, allocations: 1.375 kB / 0.506 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.1677, allocations: 13.16 kB / 0.506 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1678, allocations: 157.6 kB / 0.5062 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.1696, allocations: 269.5 kB / 0.5064 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.1697, allocations: 20.44 kB / 0.5064 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1697, allocations: 1.281 kB / 0.5064 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1697, allocations: 35.94 kB / 0.5065 GB, free: 7.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1697, allocations: 0 / 0.5065 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001739/0.1699, allocations: 68.5 kB / 0.5065 GB, free: 7.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.17, allocations: 52.91 kB / 0.5066 GB, free: 7.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.969e-05/0.17, allocations: 91.11 kB / 0.5067 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.17, allocations: 25.7 kB / 0.5067 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.458e-05/0.17, allocations: 81.55 kB / 0.5068 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1701, allocations: 25.3 kB / 0.5068 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.1701, allocations: 12.47 kB / 0.5068 GB, free: 6.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.1702, allocations: 316.1 kB / 0.5071 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.1702, allocations: 4.219 kB / 0.5071 GB, free: 6.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.1702, allocations: 13.3 kB / 0.5071 GB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.1703, allocations: 24.14 kB / 0.5072 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1703, allocations: 0 / 0.5072 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.207e-05/0.1704, allocations: 68.69 kB / 0.5072 GB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1704, allocations: 5.5 kB / 0.5072 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1704, allocations: 7.938 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1704, allocations: 1.375 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.1705, allocations: 5.5 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1705, allocations: 0 / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.1705, allocations: 5.375 kB / 0.5073 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1705, allocations: 0 / 0.5073 GB, free: 6.562 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 4.812e-05/0.1706, allocations: 112.6 kB / 0.5074 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.1706, allocations: 1.375 kB / 0.5074 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.1706, allocations: 15.44 kB / 0.5074 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1706, allocations: 5.312 kB / 0.5074 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1706, allocations: 0 / 0.5074 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1707, allocations: 3.938 kB / 0.5074 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.588e-05/0.1707, allocations: 155.2 kB / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1707, allocations: 0 / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.1708, allocations: 5.5 kB / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1708, allocations: 0 / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1708, allocations: 9.25 kB / 0.5075 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1708, allocations: 0 / 0.5075 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1708, allocations: 0 / 0.5075 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.687e-05/0.1709, allocations: 86.98 kB / 0.5076 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.171, allocations: 82.44 kB / 0.5077 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.171, allocations: 3.938 kB / 0.5077 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.171, allocations: 1.375 kB / 0.5077 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.171, allocations: 1.375 kB / 0.5077 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1711, allocations: 1.375 kB / 0.5077 GB, free: 6.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.996e-05/0.1711, allocations: 84.64 kB / 0.5078 GB, free: 5.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 4.094 kB / 0.5078 GB, free: 5.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.1713, allocations: 6.875 kB / 0.5078 GB, free: 5.941 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 9.111e-05/0.1714, allocations: 94.38 kB / 0.5079 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1715, allocations: 29.67 kB / 0.5079 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1715, allocations: 1.375 kB / 0.5079 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.1715, allocations: 12.25 kB / 0.5079 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1718, allocations: 9.484 kB / 0.5079 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.1721, allocations: 136.5 kB / 0.5081 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1722, allocations: 0.6769 MB / 0.5087 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.005e-05/0.1722, allocations: 5.375 kB / 0.5087 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.1723, allocations: 10.19 kB / 0.5088 GB, free: 4.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1723, allocations: 0 / 0.5088 GB, free: 4.984 MB / 382.1 MB Notification: Performance of Templates: time 0.002433/0.1747, allocations: 0.5169 MB / 0.5093 GB, free: 4.711 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)