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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.001664/0.001664, allocations: 104 kB / 15.6 MB, free: 148 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.002158/0.002157, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9933/0.9933, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.11 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1635, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002591/0.1661, allocations: 1.263 MB / 0.5857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1674, allocations: 0.8318 MB / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.1675, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1675, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.1676, allocations: 3.938 kB / 0.5865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.1682, allocations: 139.4 kB / 0.5867 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.1682, allocations: 19.92 kB / 0.5867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1683, allocations: 4 kB / 0.5867 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.1683, allocations: 15.94 kB / 0.5867 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.1684, allocations: 11.92 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1684, allocations: 0 / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.1688, allocations: 167.8 kB / 0.5869 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.1688, allocations: 4 kB / 0.5869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1688, allocations: 15.94 kB / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1691, allocations: 116 kB / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1691, allocations: 0 / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1691, allocations: 0 / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1691, allocations: 0 / 0.587 GB, free: 1.852 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004829/0.1696, allocations: 367.3 kB / 0.5873 GB, free: 1.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1697, allocations: 8.031 kB / 0.5873 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.1697, allocations: 34.69 kB / 0.5874 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1698, allocations: 4.938 kB / 0.5874 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1699, allocations: 168.4 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/0.17, allocations: 30.27 kB / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.17, allocations: 384 / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1702, allocations: 46 kB / 0.5876 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1702, allocations: 4 kB / 0.5876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1702, allocations: 4 kB / 0.5876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1702, allocations: 0 / 0.5876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.1703, allocations: 11.98 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.1705, allocations: 165.7 kB / 0.5878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1708, allocations: 46.48 kB / 0.5878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.1708, allocations: 20.94 kB / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.1711, allocations: 182.1 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1712, allocations: 38.5 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1712, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.1715, allocations: 77.5 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1715, allocations: 51.41 kB / 0.5882 GB, free: 392 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.1716, allocations: 97.86 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1716, allocations: 29.69 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.1716, allocations: 84.14 kB / 0.5884 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1716, allocations: 7.906 kB / 0.5884 GB, free: 152 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1717, allocations: 21.62 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1718, allocations: 314.8 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.1719, allocations: 11.98 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.1719, allocations: 4 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.172, allocations: 28.84 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.172, allocations: 0 / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001442/0.1722, allocations: 69.61 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1722, allocations: 10.28 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1722, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1722, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.1723, allocations: 8 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1723, allocations: 0 / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.1723, allocations: 11.92 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1724, allocations: 0 / 0.5889 GB, free: 15.66 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 7.749e-05/0.1724, allocations: 105.8 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.1725, allocations: 11.94 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1727, allocations: 69.11 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1727, allocations: 4 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1727, allocations: 0 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1727, allocations: 0 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1728, allocations: 157.7 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1728, allocations: 0 / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.1729, allocations: 15.98 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1729, allocations: 3.938 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1729, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1729, allocations: 7.938 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1729, allocations: 0 / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1731, allocations: 81.03 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1731, allocations: 89.64 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1732, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.1732, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.1733, allocations: 15.92 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1733, allocations: 4 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.1733, allocations: 87.2 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1733, allocations: 0 / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002482/0.1736, allocations: 39.92 kB / 0.5895 GB, free: 14.87 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 (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.000566/0.1742, allocations: 0.6476 MB / 0.5902 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1743, allocations: 31.91 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1743, allocations: 0 / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.584e-05/0.1744, allocations: 16 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1747, allocations: 7.984 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.1751, allocations: 184.6 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1753, allocations: 0.6806 MB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.1754, allocations: 3.984 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1754, allocations: 11.44 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1754, allocations: 0 / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.1924, allocations: 1.913 MB / 0.5929 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.55, allocations: 14.5 kB / 0.5929 GB, free: 11.37 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)