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.001384/0.001384, allocations: 106.2 kB / 16.41 MB, free: 6.473 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.001683/0.001683, allocations: 189.6 kB / 17.34 MB, free: 5.754 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8138/0.8138, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.25 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.158, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003106/0.1612, allocations: 1.253 MB / 0.6616 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.162, allocations: 301.9 kB / 0.6618 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.162, allocations: 4 kB / 0.6618 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1621, allocations: 0 / 0.6618 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.1621, allocations: 7.922 kB / 0.6619 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1625, allocations: 43.75 kB / 0.6619 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.788e-05/0.1626, allocations: 19.92 kB / 0.6619 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.1626, allocations: 4 kB / 0.6619 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.1627, allocations: 7.938 kB / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.1627, allocations: 8 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1628, allocations: 0 / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1629, allocations: 59.94 kB / 0.662 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.163, allocations: 0 / 0.662 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.163, allocations: 15.92 kB / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1632, allocations: 47.83 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1632, allocations: 0 / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.416e-06/0.1632, allocations: 7.938 kB / 0.6621 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.1632, allocations: 0 / 0.6621 GB, free: 8.504 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.0004278/0.1637, allocations: 335.5 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1637, allocations: 16.02 kB / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.164, allocations: 16.92 kB / 0.6624 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1642, allocations: 160.4 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1642, allocations: 384 / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.1642, allocations: 384 / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1643, allocations: 46.25 kB / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1644, allocations: 192 / 0.6626 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1644, allocations: 3.938 kB / 0.6626 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1644, allocations: 4 kB / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.1645, allocations: 19.98 kB / 0.6626 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1647, allocations: 157.6 kB / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.167, allocations: 274.4 kB / 0.663 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.1672, allocations: 24.83 kB / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1672, allocations: 0 / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1672, allocations: 30.56 kB / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1672, allocations: 0 / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002004/0.1674, allocations: 73.47 kB / 0.6632 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1675, allocations: 51.41 kB / 0.6632 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.1676, allocations: 97.86 kB / 0.6633 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1676, allocations: 29.7 kB / 0.6633 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1676, allocations: 84.12 kB / 0.6634 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1677, allocations: 3.906 kB / 0.6634 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1677, allocations: 21.7 kB / 0.6634 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1679, allocations: 310.8 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.168, allocations: 8 kB / 0.6637 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.168, allocations: 11.94 kB / 0.6638 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.542e-05/0.1681, allocations: 32.97 kB / 0.6638 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1681, allocations: 0 / 0.6638 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.1682, allocations: 57.53 kB / 0.6638 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1682, allocations: 8 kB / 0.6639 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1682, allocations: 3.938 kB / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1683, allocations: 0 / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.1683, allocations: 8 kB / 0.6639 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1684, allocations: 0 / 0.6639 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1684, allocations: 4 kB / 0.6639 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1684, allocations: 0 / 0.6639 GB, free: 6.422 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 0.0001825/0.1686, allocations: 114.7 kB / 0.664 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1686, allocations: 4 kB / 0.664 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.1687, allocations: 15.42 kB / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1687, allocations: 0 / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1687, allocations: 0 / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1687, allocations: 4 kB / 0.664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1689, allocations: 153.7 kB / 0.6641 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1689, allocations: 4 kB / 0.6641 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.169, allocations: 4 kB / 0.6642 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.169, allocations: 7.938 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.169, allocations: 7.938 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.169, allocations: 0 / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.169, allocations: 0 / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1691, allocations: 77.12 kB / 0.6642 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1693, allocations: 85 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1693, allocations: 3.938 kB / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1694, allocations: 0 / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.1694, allocations: 16.31 kB / 0.6643 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1694, allocations: 0 / 0.6643 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.1695, allocations: 75.28 kB / 0.6644 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1695, allocations: 0 / 0.6644 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003074/0.1698, allocations: 8 kB / 0.6644 GB, free: 5.75 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.0001585/0.17, allocations: 99.23 kB / 0.6645 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.1701, allocations: 27.88 kB / 0.6645 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.1701, allocations: 8.094 kB / 0.6646 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1702, allocations: 20.06 kB / 0.6646 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1705, allocations: 5.719 kB / 0.6646 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.1709, allocations: 156.2 kB / 0.6647 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1712, allocations: 0.6768 MB / 0.6654 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1713, allocations: 11.44 kB / 0.6654 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1713, allocations: 4 kB / 0.6654 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002461/0.1737, allocations: 0.5217 MB / 0.6659 GB, free: 4.16 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)