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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 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.001126/0.001126, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9736/0.9736, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 58.5 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1579, allocations: 80.92 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002959/0.1609, allocations: 1.487 MB / 0.5859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1622, allocations: 0.8007 MB / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.1623, allocations: 0 / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.1624, allocations: 3.938 kB / 0.5867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.1624, allocations: 15.86 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.163, allocations: 131.4 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.244e-05/0.1631, allocations: 55.73 kB / 0.5869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1632, allocations: 15.98 kB / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.1633, allocations: 15.94 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.1633, allocations: 23.91 kB / 0.5869 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1633, allocations: 8 kB / 0.587 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.1637, allocations: 175.8 kB / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1637, allocations: 7.938 kB / 0.5871 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1638, allocations: 15.92 kB / 0.5871 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1641, allocations: 155.8 kB / 0.5873 GB, free: 1.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1641, allocations: 0 / 0.5873 GB, free: 1.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1641, allocations: 4 kB / 0.5873 GB, free: 1.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1641, allocations: 3.938 kB / 0.5873 GB, free: 1.562 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.0005721/0.1647, allocations: 399.2 kB / 0.5877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1647, allocations: 8.031 kB / 0.5877 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1648, allocations: 42.73 kB / 0.5877 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1648, allocations: 0.9375 kB / 0.5877 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1649, allocations: 168.3 kB / 0.5879 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.165, allocations: 384 / 0.5879 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.165, allocations: 4.375 kB / 0.5879 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1652, allocations: 78.14 kB / 0.588 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1653, allocations: 7.938 kB / 0.588 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1653, allocations: 3.938 kB / 0.588 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1653, allocations: 0 / 0.588 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.1656, allocations: 75.91 kB / 0.5881 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.166, allocations: 288.7 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1662, allocations: 58.48 kB / 0.5884 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.1664, allocations: 40.91 kB / 0.5884 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.1666, allocations: 89.09 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1666, allocations: 34.56 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1666, allocations: 0 / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005741/0.1672, allocations: 133.5 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1672, allocations: 51.41 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1673, allocations: 121.5 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1674, allocations: 33.64 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.1674, allocations: 88.14 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1675, allocations: 3.906 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.1675, allocations: 21.7 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1677, allocations: 314.8 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1678, allocations: 31.97 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.168, allocations: 35.95 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1683, allocations: 68.78 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1683, allocations: 4 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003499/0.1686, allocations: 101.5 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1687, allocations: 8 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1687, allocations: 0 / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1687, allocations: 0 / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1688, allocations: 15.92 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1689, allocations: 0 / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.169, allocations: 15.97 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.169, allocations: 11.94 kB / 0.5896 GB, free: 15 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 0.0001172/0.1691, allocations: 113.8 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.1691, allocations: 4 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.1696, allocations: 109.4 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1696, allocations: 0 / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1696, allocations: 3.938 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1696, allocations: 0 / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1698, allocations: 177.6 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1698, allocations: 0 / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.1699, allocations: 19.92 kB / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1699, allocations: 0 / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1699, allocations: 0 / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.17, allocations: 0 / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.17, allocations: 0 / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1704, allocations: 203.8 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1704, allocations: 88.98 kB / 0.5902 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1705, allocations: 4 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1706, allocations: 7.984 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.1706, allocations: 11.98 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1706, allocations: 0 / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.1707, allocations: 95.27 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1707, allocations: 0 / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003078/0.171, allocations: 28 kB / 0.5904 GB, free: 14.04 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.0008171/0.1719, allocations: 0.767 MB / 0.5911 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.1722, allocations: 71.92 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1723, allocations: 0 / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1724, allocations: 43.89 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1728, allocations: 4 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1746, allocations: 1.441 MB / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1749, allocations: 0.6846 MB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.1749, allocations: 7.984 kB / 0.5933 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.175, allocations: 11.62 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of SimCode: time 6.12e-07/0.175, allocations: 7.938 kB / 0.5933 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.2755, allocations: 2.403 MB / 0.5957 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.783, allocations: 5.391 kB / 0.5957 GB, free: 8.551 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)