Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001724, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8944/0.8944, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.22 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1508, allocations: 80.92 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002516/0.1533, allocations: 1.546 MB / 0.5858 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1545, allocations: 0.8226 MB / 0.5867 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1546, allocations: 0 / 0.5867 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.1546, allocations: 7.922 kB / 0.5867 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.1547, allocations: 7.938 kB / 0.5867 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.155, allocations: 111.5 kB / 0.5868 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.1551, allocations: 55.78 kB / 0.5868 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.1552, allocations: 11.98 kB / 0.5868 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.1553, allocations: 19.92 kB / 0.5869 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.1553, allocations: 23.91 kB / 0.5869 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1553, allocations: 0 / 0.5869 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1557, allocations: 179.7 kB / 0.5871 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.1557, allocations: 8 kB / 0.5871 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.1557, allocations: 23.86 kB / 0.5871 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1559, allocations: 108 kB / 0.5872 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1559, allocations: 0 / 0.5872 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1559, allocations: 3.938 kB / 0.5872 GB, free: 2.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1559, allocations: 0 / 0.5872 GB, free: 2.051 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005163/0.1565, allocations: 399.2 kB / 0.5876 GB, free: 1.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1565, allocations: 8.031 kB / 0.5876 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1565, allocations: 8.938 kB / 0.5876 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1567, allocations: 172.2 kB / 0.5877 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1567, allocations: 8.359 kB / 0.5878 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1567, allocations: 384 / 0.5878 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.157, allocations: 74.2 kB / 0.5878 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.157, allocations: 192 / 0.5878 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.157, allocations: 7.938 kB / 0.5878 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.157, allocations: 0 / 0.5878 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1573, allocations: 71.92 kB / 0.5879 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1577, allocations: 288.6 kB / 0.5882 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1579, allocations: 62.53 kB / 0.5882 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.158, allocations: 36.91 kB / 0.5883 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.1582, allocations: 89.09 kB / 0.5884 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1583, allocations: 34.56 kB / 0.5884 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1583, allocations: 0 / 0.5884 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005241/0.1588, allocations: 137.5 kB / 0.5885 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1588, allocations: 51.41 kB / 0.5886 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.1589, allocations: 117.6 kB / 0.5887 GB, free: 316 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.159, allocations: 29.7 kB / 0.5887 GB, free: 280 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.159, allocations: 88.05 kB / 0.5888 GB, free: 188 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.159, allocations: 15.89 kB / 0.5888 GB, free: 172 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1591, allocations: 21.59 kB / 0.5888 GB, free: 144 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1592, allocations: 318.8 kB / 0.5891 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1594, allocations: 31.95 kB / 0.5892 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1595, allocations: 31.97 kB / 0.5892 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1598, allocations: 72.72 kB / 0.5893 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1598, allocations: 0 / 0.5893 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003145/0.1601, allocations: 101.5 kB / 0.5894 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1601, allocations: 4 kB / 0.5894 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1601, allocations: 4 kB / 0.5894 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.1602, allocations: 0 / 0.5894 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1603, allocations: 19.97 kB / 0.5894 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1603, allocations: 0 / 0.5894 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.1604, allocations: 11.98 kB / 0.5894 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1604, allocations: 4 kB / 0.5894 GB, free: 15.54 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 (3): * Single equations (assignments): 3 * 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.221e-05/0.1605, allocations: 109.8 kB / 0.5895 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1605, allocations: 8 kB / 0.5895 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.1609, allocations: 109.5 kB / 0.5896 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1609, allocations: 0 / 0.5896 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1609, allocations: 0 / 0.5896 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1609, allocations: 3.984 kB / 0.5896 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.1611, allocations: 177.5 kB / 0.5898 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1611, allocations: 0 / 0.5898 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.801e-05/0.1612, allocations: 19.97 kB / 0.5898 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1612, allocations: 0 / 0.5898 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1612, allocations: 4 kB / 0.5898 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1612, allocations: 0 / 0.5898 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1612, allocations: 0 / 0.5898 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1616, allocations: 199.7 kB / 0.59 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1616, allocations: 92.95 kB / 0.5901 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1617, allocations: 3.984 kB / 0.5901 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1618, allocations: 12.03 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1618, allocations: 7.984 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1618, allocations: 0 / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.1619, allocations: 99.2 kB / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 0 / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002704/0.1622, allocations: 27.98 kB / 0.5902 GB, free: 14.57 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 (3): * Single equations (assignments): 3 * 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.1624, allocations: 131.2 kB / 0.5904 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1627, allocations: 67.92 kB / 0.5904 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1627, allocations: 0 / 0.5904 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1629, allocations: 47.89 kB / 0.5905 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1632, allocations: 17.59 kB / 0.5905 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.1635, allocations: 182.7 kB / 0.5907 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1638, allocations: 0.6848 MB / 0.5913 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.1638, allocations: 7.438 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1638, allocations: 0 / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.002528/0.1664, allocations: 1.212 MB / 0.5925 GB, free: 12.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)