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.006889/0.006889, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001455/0.001455, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7725/0.7725, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.19 kB / 0.5856 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1719, allocations: 80.93 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001999/0.174, allocations: 1.265 MB / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1753, allocations: 0.8772 MB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.1753, allocations: 0 / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1753, allocations: 3.984 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.1754, allocations: 7.938 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.1758, allocations: 193.3 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.547e-05/0.1759, allocations: 15.94 kB / 0.6669 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.486e-05/0.1759, allocations: 7.984 kB / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.1759, allocations: 11.94 kB / 0.667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.176, allocations: 7.984 kB / 0.667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-06/0.176, allocations: 0 / 0.667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1763, allocations: 235.7 kB / 0.6672 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.1763, allocations: 7.922 kB / 0.6672 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1763, allocations: 11.94 kB / 0.6672 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1766, allocations: 139.8 kB / 0.6673 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1766, allocations: 3.938 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.51e-07/0.1766, allocations: 0 / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.334e-06/0.1766, allocations: 0 / 0.6673 GB, free: 3.016 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.00028/0.1769, allocations: 371.5 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.501e-05/0.1769, allocations: 9.109 kB / 0.6677 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.177, allocations: 12.92 kB / 0.6677 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.1771, allocations: 160.4 kB / 0.6679 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.1771, allocations: 384 / 0.6679 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1771, allocations: 8.125 kB / 0.6679 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.011e-05/0.1772, allocations: 37.69 kB / 0.6679 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-06/0.1772, allocations: 0 / 0.6679 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1773, allocations: 4 kB / 0.6679 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-06/0.1773, allocations: 4 kB / 0.6679 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.1773, allocations: 23.91 kB / 0.6679 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.1774, allocations: 153.7 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.1783, allocations: 134.6 kB / 0.6682 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.1783, allocations: 24.78 kB / 0.6682 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/0.1784, allocations: 81.11 kB / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1784, allocations: 34.56 kB / 0.6684 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.1784, allocations: 0 / 0.6684 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001287/0.1786, allocations: 69.53 kB / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1786, allocations: 59.33 kB / 0.6685 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.1787, allocations: 93.86 kB / 0.6686 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1787, allocations: 25.7 kB / 0.6686 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.1787, allocations: 80.14 kB / 0.6687 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1787, allocations: 15.84 kB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1788, allocations: 17.66 kB / 0.6687 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1789, allocations: 318.8 kB / 0.669 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.1789, allocations: 4 kB / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.1789, allocations: 8 kB / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.179, allocations: 32.91 kB / 0.669 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.179, allocations: 4 kB / 0.6691 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.1791, allocations: 61.53 kB / 0.6691 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.1791, allocations: 4 kB / 0.6691 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1791, allocations: 4 kB / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/0.1791, allocations: 0 / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.1792, allocations: 4 kB / 0.6691 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1792, allocations: 0 / 0.6691 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.1792, allocations: 0 / 0.6691 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1792, allocations: 4 kB / 0.6691 GB, free: 0.9492 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.714e-05/0.1793, allocations: 115.2 kB / 0.6692 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1793, allocations: 11.94 kB / 0.6692 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.1795, allocations: 77.11 kB / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1795, allocations: 0 / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1795, allocations: 0 / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1795, allocations: 4 kB / 0.6693 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1796, allocations: 165.6 kB / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1796, allocations: 0 / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.1797, allocations: 12 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1797, allocations: 0 / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1797, allocations: 3.984 kB / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1797, allocations: 0 / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1797, allocations: 0 / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1798, allocations: 93 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1799, allocations: 85.34 kB / 0.6697 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.1799, allocations: 0 / 0.6697 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.18, allocations: 0 / 0.6697 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.18, allocations: 11.97 kB / 0.6697 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.18, allocations: 7.938 kB / 0.6697 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.18, allocations: 79.28 kB / 0.6698 GB, free: 192 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.363e-06/0.18, allocations: 0 / 0.6698 GB, free: 192 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.1803, allocations: 47.94 kB / 0.6698 GB, free: 144 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.0002957/0.1806, allocations: 172.4 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.1806, allocations: 27.94 kB / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1807, allocations: 0 / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.1807, allocations: 15.98 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1808, allocations: 16.11 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1811, allocations: 130.6 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1813, allocations: 0.6768 MB / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.1814, allocations: 11.98 kB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1814, allocations: 15.44 kB / 0.6708 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1814, allocations: 0 / 0.6708 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of Templates: time 0.00279/0.1842, allocations: 1.07 MB / 0.6719 GB, free: 13.96 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)