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.001327/0.001327, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001385/0.001385, allocations: 187 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.359/1.359, allocations: 222.9 MB / 241 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.8195/0.8195, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 69 kB / 0.5863 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 80.92 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002614/0.1451, allocations: 1.485 MB / 0.6667 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1463, allocations: 0.8108 MB / 0.6675 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.1463, allocations: 3.938 kB / 0.6675 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.1464, allocations: 3.938 kB / 0.6675 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.1464, allocations: 11.88 kB / 0.6675 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.1471, allocations: 131.5 kB / 0.6677 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1472, allocations: 55.72 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1473, allocations: 15.98 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.1474, allocations: 15.92 kB / 0.6678 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.1474, allocations: 27.91 kB / 0.6678 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1475, allocations: 4 kB / 0.6678 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.1479, allocations: 171.8 kB / 0.6679 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.148, allocations: 11.94 kB / 0.668 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.148, allocations: 23.86 kB / 0.668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.1484, allocations: 151.6 kB / 0.6681 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1484, allocations: 4 kB / 0.6681 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1484, allocations: 0 / 0.6681 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1484, allocations: 0 / 0.6681 GB, free: 2.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006862/0.1491, allocations: 395.2 kB / 0.6685 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1492, allocations: 13.11 kB / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1492, allocations: 4.844 kB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1494, allocations: 176.3 kB / 0.6687 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1494, allocations: 384 / 0.6687 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1494, allocations: 4.375 kB / 0.6687 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1497, allocations: 78.16 kB / 0.6688 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1498, allocations: 192 / 0.6688 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1498, allocations: 3.938 kB / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1498, allocations: 0 / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.1502, allocations: 71.92 kB / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1507, allocations: 284.8 kB / 0.6691 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1509, allocations: 58.47 kB / 0.6692 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1511, allocations: 40.92 kB / 0.6692 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.1514, allocations: 93.09 kB / 0.6693 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1514, allocations: 30.56 kB / 0.6693 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.1514, allocations: 0 / 0.6693 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0007212/0.1522, allocations: 133.5 kB / 0.6695 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1522, allocations: 55.41 kB / 0.6695 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1523, allocations: 113.8 kB / 0.6696 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1523, allocations: 29.64 kB / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.1524, allocations: 92.12 kB / 0.6697 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1524, allocations: 11.75 kB / 0.6697 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.1525, allocations: 21.72 kB / 0.6698 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1526, allocations: 318.8 kB / 0.6701 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1528, allocations: 31.97 kB / 0.6701 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.153, allocations: 35.89 kB / 0.6701 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.1534, allocations: 68.8 kB / 0.6702 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1534, allocations: 0 / 0.6702 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004444/0.1539, allocations: 101.9 kB / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1539, allocations: 4 kB / 0.6703 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1539, allocations: 0 / 0.6703 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1539, allocations: 8.031 kB / 0.6703 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1541, allocations: 19.92 kB / 0.6703 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1541, allocations: 0 / 0.6703 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1542, allocations: 11.98 kB / 0.6703 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1542, allocations: 0 / 0.6703 GB, free: 480 kB / 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 8.704e-05/0.1543, allocations: 117.8 kB / 0.6705 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.1544, allocations: 15.91 kB / 0.6705 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.1549, allocations: 105.5 kB / 0.6706 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1549, allocations: 4 kB / 0.6706 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1549, allocations: 0 / 0.6706 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1549, allocations: 0 / 0.6706 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1552, allocations: 177.5 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1552, allocations: 0 / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1553, allocations: 23.92 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1553, allocations: 0 / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1553, allocations: 4 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1554, allocations: 0 / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1554, allocations: 0 / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.1559, allocations: 199.3 kB / 0.671 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1559, allocations: 77.11 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1559, allocations: 4 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1561, allocations: 15.98 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.1562, allocations: 3.984 kB / 0.6711 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1562, allocations: 4 kB / 0.6711 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.1563, allocations: 91.27 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1563, allocations: 0 / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004579/0.1567, allocations: 36 kB / 0.6712 GB, free: 15.5 MB / 0.5137 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.0002532/0.157, allocations: 136.5 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1575, allocations: 71.86 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1575, allocations: 0 / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.1577, allocations: 35.95 kB / 0.6714 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.1582, allocations: 21.75 kB / 0.6714 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.1586, allocations: 180.7 kB / 0.6716 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1589, allocations: 0.6846 MB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1589, allocations: 11.44 kB / 0.6723 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.159, allocations: 0 / 0.6723 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.003608/0.1626, allocations: 1.214 MB / 0.6735 GB, free: 13.09 MB / 0.5137 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)