Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001921/0.001922, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8177/0.8177, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.58 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1718, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002163/0.174, allocations: 1.261 MB / 0.6665 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1753, allocations: 0.8383 MB / 0.6673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.1753, allocations: 4 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1754, allocations: 0 / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.1754, allocations: 7.938 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1759, allocations: 127.4 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.176, allocations: 23.92 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.176, allocations: 3.984 kB / 0.6675 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.1761, allocations: 15.94 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.1762, allocations: 7.984 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1762, allocations: 4 kB / 0.6675 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.1765, allocations: 175.7 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1765, allocations: 3.938 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1766, allocations: 4 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.1768, allocations: 123.7 kB / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1768, allocations: 0 / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.582e-06/0.1768, allocations: 0 / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1768, allocations: 0 / 0.6678 GB, free: 3.176 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.0004766/0.1773, allocations: 367.3 kB / 0.6682 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1773, allocations: 13.11 kB / 0.6682 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1774, allocations: 4.938 kB / 0.6682 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1775, allocations: 168.3 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.1776, allocations: 34.25 kB / 0.6684 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.1776, allocations: 384 / 0.6684 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1778, allocations: 50.19 kB / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1778, allocations: 3.938 kB / 0.6684 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1778, allocations: 0 / 0.6684 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1778, allocations: 3.938 kB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.1779, allocations: 23.98 kB / 0.6685 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1781, allocations: 153.7 kB / 0.6686 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.1783, allocations: 46.61 kB / 0.6687 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.1784, allocations: 12.94 kB / 0.6687 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.1787, allocations: 190.1 kB / 0.6689 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1787, allocations: 30.56 kB / 0.6689 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1787, allocations: 0 / 0.6689 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002396/0.179, allocations: 69.8 kB / 0.6689 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.179, allocations: 51.41 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.1791, allocations: 97.84 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1791, allocations: 33.7 kB / 0.6691 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.1791, allocations: 84.14 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1792, allocations: 19.72 kB / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1792, allocations: 17.72 kB / 0.6692 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1793, allocations: 310.8 kB / 0.6695 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.1794, allocations: 11.98 kB / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.1795, allocations: 11.94 kB / 0.6696 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.1795, allocations: 28.84 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1796, allocations: 4 kB / 0.6696 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.1797, allocations: 57.69 kB / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1797, allocations: 11.92 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1797, allocations: 0 / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1797, allocations: 0 / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.1798, allocations: 8 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1798, allocations: 0 / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.1799, allocations: 7.938 kB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1799, allocations: 3.938 kB / 0.6697 GB, free: 1.016 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 8.443e-05/0.18, allocations: 117.8 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.18, allocations: 11.84 kB / 0.6698 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.1802, allocations: 61.17 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1802, allocations: 4 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1802, allocations: 0 / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1802, allocations: 0 / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1803, allocations: 153.7 kB / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1803, allocations: 0 / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1804, allocations: 8 kB / 0.67 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1804, allocations: 7.938 kB / 0.67 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1804, allocations: 0 / 0.67 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1804, allocations: 7.922 kB / 0.67 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1804, allocations: 0 / 0.67 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1806, allocations: 77.12 kB / 0.6701 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1806, allocations: 93.03 kB / 0.6702 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1806, allocations: 3.938 kB / 0.6702 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.1807, allocations: 4 kB / 0.6702 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1807, allocations: 7.984 kB / 0.6702 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1807, allocations: 0 / 0.6702 GB, free: 368 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.1808, allocations: 79.7 kB / 0.6703 GB, free: 288 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1808, allocations: 0 / 0.6703 GB, free: 288 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002256/0.181, allocations: 35.94 kB / 0.6703 GB, free: 252 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 (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.0002098/0.1812, allocations: 136.5 kB / 0.6704 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1814, allocations: 36.05 kB / 0.6705 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1814, allocations: 0 / 0.6705 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.1815, allocations: 19.98 kB / 0.6705 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1817, allocations: 8 kB / 0.6705 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.182, allocations: 159.8 kB / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1822, allocations: 0.6767 MB / 0.6713 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1822, allocations: 15.44 kB / 0.6713 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1823, allocations: 0 / 0.6713 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.002522/0.1848, allocations: 0.9951 MB / 0.6723 GB, free: 14.14 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)