Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.63/2.63, allocations: 287.9 MB / 302.9 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002069/0.002069, allocations: 183.3 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.27 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001123/0.154, allocations: 0.9687 MB / 0.9797 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.1545, allocations: 265.1 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1546, allocations: 0 / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.1546, allocations: 3.938 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.1547, allocations: 3.984 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1549, allocations: 51.86 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.837e-05/0.1549, allocations: 7.984 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.155, allocations: 3.938 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.155, allocations: 7.984 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.1551, allocations: 11.94 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1551, allocations: 0 / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1552, allocations: 55.95 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-06/0.1553, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.1553, allocations: 33.7 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1554, allocations: 40.17 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.61e-06/0.1554, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.001e-06/0.1554, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1554, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB 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.0002638/0.1557, allocations: 327.4 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1557, allocations: 8.031 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.156, allocations: 19.97 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.1561, allocations: 174.9 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1561, allocations: 11.98 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1561, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1563, allocations: 41.69 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-06/0.1563, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1563, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-06/0.1563, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.1564, allocations: 15.98 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1565, allocations: 161.6 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.1584, allocations: 278.3 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1585, allocations: 0 / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.1585, allocations: 34.56 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.046e-06/0.1585, allocations: 4 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001739/0.1587, allocations: 57.78 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.1587, allocations: 55.41 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.212e-05/0.1588, allocations: 89.86 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1588, allocations: 25.7 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.1588, allocations: 88.08 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1589, allocations: 19.92 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-06/0.1589, allocations: 0 / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.1589, allocations: 314.8 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.159, allocations: 8 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.159, allocations: 8 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.159, allocations: 11.98 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1591, allocations: 3.938 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.9e-05/0.1592, allocations: 49.7 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1592, allocations: 8 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-06/0.1592, allocations: 0 / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1592, allocations: 7.984 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.1593, allocations: 4 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1593, allocations: 0 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.1594, allocations: 7.938 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-06/0.1594, allocations: 4 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.1595, allocations: 113.8 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1595, allocations: 4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.1595, allocations: 7.5 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1595, allocations: 4 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.843e-06/0.1595, allocations: 0 / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-06/0.1595, allocations: 336 / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.1596, allocations: 165.6 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-06/0.1597, allocations: 3.938 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1597, allocations: 11.98 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.083e-06/0.1597, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-06/0.1598, allocations: 3.984 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-06/0.1598, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-06/0.1598, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1599, allocations: 84.97 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.16, allocations: 85.06 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.16, allocations: 4 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.1601, allocations: 3.984 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.1601, allocations: 4 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-06/0.1601, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.1601, allocations: 75.28 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.45e-07/0.1602, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002466/0.1604, allocations: 12.09 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.1605, allocations: 99.25 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.1606, allocations: 19.98 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.876e-06/0.1606, allocations: 4 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.1607, allocations: 15.94 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1609, allocations: 7.984 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.1612, allocations: 136.5 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1613, allocations: 0.6809 MB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1614, allocations: 4 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.1614, allocations: 7.438 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.935e-06/0.1615, allocations: 4 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002562/0.164, allocations: 474.2 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB