Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.5 kB / 16.41 MB, free: 6.48 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.001055/0.001055, allocations: 191 kB / 17.34 MB, free: 5.75 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8/0.8, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 60.75 kB / 0.582 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 80.21 MB / 0.6603 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002591/0.162, allocations: 1.261 MB / 0.6616 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1636, allocations: 0.8772 MB / 0.6624 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.1636, allocations: 0 / 0.6624 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.1636, allocations: 0 / 0.6624 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.1637, allocations: 3.938 kB / 0.6624 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.1645, allocations: 195.4 kB / 0.6626 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.1646, allocations: 23.86 kB / 0.6626 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.1647, allocations: 7.984 kB / 0.6626 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.1647, allocations: 7.938 kB / 0.6626 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.1648, allocations: 4 kB / 0.6626 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1648, allocations: 4 kB / 0.6627 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1652, allocations: 235.7 kB / 0.6629 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1653, allocations: 7.984 kB / 0.6629 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1653, allocations: 7.938 kB / 0.6629 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1656, allocations: 143.8 kB / 0.663 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1656, allocations: 4 kB / 0.663 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1656, allocations: 0 / 0.663 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.1656, allocations: 0 / 0.663 GB, free: 7.617 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.0004646/0.1661, allocations: 363.5 kB / 0.6634 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1662, allocations: 8.031 kB / 0.6634 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.1664, allocations: 8.922 kB / 0.6634 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1665, allocations: 168.4 kB / 0.6636 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1665, allocations: 4.312 kB / 0.6636 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1665, allocations: 8.125 kB / 0.6636 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1667, allocations: 41.69 kB / 0.6636 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1667, allocations: 3.938 kB / 0.6636 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1667, allocations: 3.984 kB / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1667, allocations: 0 / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.1668, allocations: 16 kB / 0.6636 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.167, allocations: 161.6 kB / 0.6638 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/0.1679, allocations: 134.5 kB / 0.6639 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.1679, allocations: 24.78 kB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.1681, allocations: 85.09 kB / 0.664 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1681, allocations: 34.56 kB / 0.6641 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.1681, allocations: 0 / 0.6641 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001973/0.1683, allocations: 65.67 kB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1684, allocations: 55.41 kB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.1684, allocations: 89.86 kB / 0.6643 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1684, allocations: 29.7 kB / 0.6643 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.1685, allocations: 84.08 kB / 0.6644 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1685, allocations: 19.69 kB / 0.6644 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1686, allocations: 17.7 kB / 0.6644 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1687, allocations: 315 kB / 0.6647 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.1687, allocations: 12 kB / 0.6647 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.1688, allocations: 7.984 kB / 0.6647 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.1688, allocations: 24.86 kB / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1688, allocations: 0 / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.239e-05/0.1689, allocations: 57.62 kB / 0.6648 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1689, allocations: 4 kB / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.169, allocations: 0 / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.169, allocations: 0 / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.169, allocations: 12.27 kB / 0.6648 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.169, allocations: 0 / 0.6648 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.1691, allocations: 7.984 kB / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1691, allocations: 0 / 0.6648 GB, free: 5.547 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 7.731e-05/0.1692, allocations: 114.7 kB / 0.6649 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.1692, allocations: 3.938 kB / 0.6649 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.1695, allocations: 85.16 kB / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1695, allocations: 0 / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1695, allocations: 0 / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1695, allocations: 0 / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1696, allocations: 165.6 kB / 0.6652 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1696, allocations: 3.938 kB / 0.6652 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.1697, allocations: 11.92 kB / 0.6652 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1697, allocations: 4 kB / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1697, allocations: 0 / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1697, allocations: 0 / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1698, allocations: 7.984 kB / 0.6652 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1699, allocations: 88.97 kB / 0.6653 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1699, allocations: 81.11 kB / 0.6654 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.17, allocations: 3.984 kB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.17, allocations: 4 kB / 0.6654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.17, allocations: 4 kB / 0.6654 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.17, allocations: 0 / 0.6654 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.1701, allocations: 79.28 kB / 0.6654 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1701, allocations: 3.938 kB / 0.6654 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002672/0.1704, allocations: 51.98 kB / 0.6655 GB, free: 4.738 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 (5): * Single equations (assignments): 5 * 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.0003846/0.1708, allocations: 170.8 kB / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1709, allocations: 27.98 kB / 0.6657 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1709, allocations: 96 / 0.6657 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.1709, allocations: 20 kB / 0.6657 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.1711, allocations: 12.12 kB / 0.6657 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.1715, allocations: 160.2 kB / 0.6659 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1718, allocations: 0.6729 MB / 0.6665 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1718, allocations: 11.44 kB / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1718, allocations: 0 / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.002843/0.1747, allocations: 1.041 MB / 0.6676 GB, free: 2.578 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)