Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.005804/0.005804, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.001136/0.001136, allocations: 197.9 kB / 16.68 MB, free: 5.93 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8458/0.8458, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 66.45 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 80.93 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00228/0.1632, allocations: 1.257 MB / 0.6659 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1646, allocations: 0.8694 MB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.1647, allocations: 0 / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.1647, allocations: 7.922 kB / 0.6667 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.1648, allocations: 15.92 kB / 0.6667 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.1655, allocations: 202.8 kB / 0.6669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.1656, allocations: 11.94 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.1656, allocations: 7.984 kB / 0.667 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.1656, allocations: 7.938 kB / 0.667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.1657, allocations: 8 kB / 0.667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1657, allocations: 0 / 0.667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.1661, allocations: 245.5 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1661, allocations: 3.984 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1662, allocations: 7.938 kB / 0.6672 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1664, allocations: 147.7 kB / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1664, allocations: 0 / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1664, allocations: 0 / 0.6674 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1664, allocations: 0 / 0.6674 GB, free: 3.031 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.0004039/0.1669, allocations: 363.5 kB / 0.6677 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1669, allocations: 9.109 kB / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.1671, allocations: 16.92 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.1672, allocations: 160.4 kB / 0.6679 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1672, allocations: 384 / 0.6679 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1672, allocations: 12.12 kB / 0.6679 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1673, allocations: 37.69 kB / 0.6679 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1673, allocations: 0 / 0.6679 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1674, allocations: 4 kB / 0.6679 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1674, allocations: 0 / 0.6679 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.1674, allocations: 19.92 kB / 0.6679 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1676, allocations: 157.7 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009067/0.1685, allocations: 130.6 kB / 0.6682 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.1685, allocations: 28.78 kB / 0.6682 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.1687, allocations: 81.11 kB / 0.6683 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1687, allocations: 38.56 kB / 0.6684 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1687, allocations: 0 / 0.6684 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.1689, allocations: 65.53 kB / 0.6684 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1689, allocations: 55.39 kB / 0.6685 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.169, allocations: 93.86 kB / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.169, allocations: 25.7 kB / 0.6686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.1691, allocations: 84.08 kB / 0.6687 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1691, allocations: 15.97 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1691, allocations: 17.72 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1692, allocations: 314.8 kB / 0.669 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.1693, allocations: 8 kB / 0.669 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.1693, allocations: 4 kB / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.1694, allocations: 33.06 kB / 0.669 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1694, allocations: 3.938 kB / 0.6691 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.1695, allocations: 65.52 kB / 0.6691 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1695, allocations: 4 kB / 0.6691 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1695, allocations: 8 kB / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1695, allocations: 0 / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.1696, allocations: 4 kB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1696, allocations: 0 / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.1696, allocations: 0 / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1696, allocations: 8 kB / 0.6691 GB, free: 0.9609 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.041e-05/0.1697, allocations: 111.2 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.1697, allocations: 7.938 kB / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.17, allocations: 81.11 kB / 0.6693 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.17, allocations: 0 / 0.6693 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.17, allocations: 4.062 kB / 0.6693 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.17, allocations: 0 / 0.6693 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1701, allocations: 161.6 kB / 0.6695 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1701, allocations: 0 / 0.6695 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.1702, allocations: 12 kB / 0.6695 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1702, allocations: 0 / 0.6695 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1702, allocations: 3.984 kB / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1702, allocations: 0 / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1702, allocations: 0 / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.1704, allocations: 89 kB / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.1704, allocations: 89.02 kB / 0.6697 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1704, allocations: 0 / 0.6697 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.1705, allocations: 4 kB / 0.6697 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.1705, allocations: 7.984 kB / 0.6697 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1705, allocations: 0 / 0.6697 GB, free: 300 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.1706, allocations: 83.22 kB / 0.6698 GB, free: 216 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 0.6698 GB, free: 216 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002483/0.1708, allocations: 48 kB / 0.6698 GB, free: 168 kB / 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.0003733/0.1712, allocations: 175.9 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1713, allocations: 23.94 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1713, allocations: 3.938 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.1714, allocations: 15.98 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1716, allocations: 17.44 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.1719, allocations: 122.6 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1722, allocations: 0.6807 MB / 0.6708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.531e-05/0.1722, allocations: 4 kB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.1723, allocations: 15.42 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1723, allocations: 0 / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.003392/0.1757, allocations: 1.065 MB / 0.6719 GB, free: 14 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)