Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.007694/0.007694, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001639/0.001639, allocations: 190.4 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7818/0.7818, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 66.64 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.168, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002032/0.1701, allocations: 1.25 MB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.1706, allocations: 309.7 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1706, allocations: 0 / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.1707, allocations: 3.938 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.1707, allocations: 4 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.171, allocations: 51.73 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.1711, allocations: 19.88 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1711, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.1712, allocations: 11.92 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.1712, allocations: 7.984 kB / 0.6613 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1712, allocations: 0 / 0.6613 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1714, allocations: 55.95 kB / 0.6613 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1714, allocations: 8 kB / 0.6613 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.1714, allocations: 15.92 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1716, allocations: 47.83 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1716, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.614e-06/0.1716, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1716, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 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.000362/0.172, allocations: 337.6 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.172, allocations: 8.031 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.1722, allocations: 20.91 kB / 0.6618 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.1723, allocations: 164.4 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1723, allocations: 4.375 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1724, allocations: 4.375 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1725, allocations: 46.19 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1725, allocations: 4.188 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1725, allocations: 3.938 kB / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1725, allocations: 0 / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.1726, allocations: 15.98 kB / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.1727, allocations: 153.7 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.1744, allocations: 270.4 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.1745, allocations: 16.86 kB / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1745, allocations: 4 kB / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1745, allocations: 42.5 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1745, allocations: 0 / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.1747, allocations: 61.67 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.1748, allocations: 55.41 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.1748, allocations: 97.84 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1748, allocations: 25.7 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.1749, allocations: 84.27 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1749, allocations: 7.906 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1749, allocations: 17.72 kB / 0.6628 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.175, allocations: 310.8 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.1751, allocations: 15.92 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.1751, allocations: 11.97 kB / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.1751, allocations: 32.8 kB / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1752, allocations: 0 / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.04e-05/0.1752, allocations: 53.69 kB / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1753, allocations: 8 kB / 0.6632 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1753, allocations: 3.938 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1753, allocations: 0 / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.1754, allocations: 8 kB / 0.6632 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1754, allocations: 3.984 kB / 0.6632 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.1754, allocations: 3.906 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1754, allocations: 0 / 0.6632 GB, free: 9.602 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.1755, allocations: 118.4 kB / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.1755, allocations: 0 / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.1755, allocations: 15.44 kB / 0.6633 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1756, allocations: 0 / 0.6633 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1756, allocations: 0 / 0.6633 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1756, allocations: 4 kB / 0.6633 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.989e-05/0.1757, allocations: 157.7 kB / 0.6635 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1757, allocations: 0 / 0.6635 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.1757, allocations: 4 kB / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1757, allocations: 0 / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1757, allocations: 11.92 kB / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1758, allocations: 0 / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1758, allocations: 0 / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1759, allocations: 81.06 kB / 0.6636 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1759, allocations: 77.11 kB / 0.6637 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.176, allocations: 11.94 kB / 0.6637 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.146e-05/0.176, allocations: 4 kB / 0.6637 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.176, allocations: 3.984 kB / 0.6637 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.176, allocations: 4 kB / 0.6637 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.1761, allocations: 79.28 kB / 0.6638 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1761, allocations: 0 / 0.6638 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000182/0.1763, allocations: 4 kB / 0.6638 GB, free: 8.934 MB / 0.4981 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 (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.0001113/0.1764, allocations: 95.25 kB / 0.6639 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1765, allocations: 27.98 kB / 0.6639 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1765, allocations: 3.938 kB / 0.6639 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.1765, allocations: 15.94 kB / 0.6639 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1768, allocations: 18.67 kB / 0.6639 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.1771, allocations: 134.5 kB / 0.6641 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1773, allocations: 0.6729 MB / 0.6647 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.1774, allocations: 4.375 kB / 0.6647 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1774, allocations: 7.438 kB / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1774, allocations: 0 / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of Templates: time 0.00241/0.1798, allocations: 0.5164 MB / 0.6652 GB, free: 7.391 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)