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.0017/0.0017, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00185/0.00185, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9884/0.9884, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001275/0.1638, allocations: 0.9706 MB / 0.5882 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1648, allocations: 0.7297 MB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.1649, allocations: 0 / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1649, allocations: 3.938 kB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.165, allocations: 3.984 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.1654, allocations: 119.6 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.1654, allocations: 19.97 kB / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.1655, allocations: 0 / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.1655, allocations: 11.92 kB / 0.5891 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.1656, allocations: 15.98 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1656, allocations: 0 / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.1659, allocations: 171.8 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.166, allocations: 15.98 kB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.166, allocations: 29.64 kB / 0.5893 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1662, allocations: 80.08 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1662, allocations: 0 / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1662, allocations: 4 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1662, allocations: 0 / 0.5894 GB, free: 0.8398 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.0004003/0.1666, allocations: 359.2 kB / 0.5897 GB, free: 452 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1666, allocations: 8.031 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.1667, allocations: 30.56 kB / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.1667, allocations: 8 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1668, allocations: 163 kB / 0.5899 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.1669, allocations: 37.69 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1669, allocations: 0 / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.167, allocations: 45.62 kB / 0.59 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1671, allocations: 0 / 0.59 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1671, allocations: 0 / 0.59 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1671, allocations: 4 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.1672, allocations: 15.98 kB / 0.59 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1674, allocations: 161.6 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1676, allocations: 46.61 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.1679, allocations: 182.3 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1679, allocations: 30.56 kB / 0.5904 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.168, allocations: 8 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002434/0.1682, allocations: 69.52 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1683, allocations: 51.41 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.1683, allocations: 106 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1684, allocations: 29.7 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1684, allocations: 84.14 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1684, allocations: 3.906 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1684, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1685, allocations: 322.8 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.1686, allocations: 15.92 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.1686, allocations: 8 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.1687, allocations: 11.98 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1687, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.1689, allocations: 61.53 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1689, allocations: 4 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1689, allocations: 8 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1689, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.169, allocations: 7.984 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.169, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.169, allocations: 7.938 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.169, allocations: 4 kB / 0.5912 GB, free: 14.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/0.1691, allocations: 113.8 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.1691, allocations: 0 / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.1693, allocations: 81.09 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1693, allocations: 3.984 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1693, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1693, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1695, allocations: 157.6 kB / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1695, allocations: 0 / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.1695, allocations: 8 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1695, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1695, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1695, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1696, allocations: 4 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1697, allocations: 92.91 kB / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.1698, allocations: 85.09 kB / 0.5917 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1698, allocations: 0 / 0.5917 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.1699, allocations: 4 kB / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1699, allocations: 4 kB / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1699, allocations: 3.938 kB / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.17, allocations: 87.27 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.17, allocations: 0 / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002563/0.1702, allocations: 35.94 kB / 0.5919 GB, free: 13.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005113/0.1707, allocations: 0.652 MB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.1709, allocations: 31.92 kB / 0.5925 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1709, allocations: 0 / 0.5925 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.171, allocations: 20.12 kB / 0.5925 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.1712, allocations: 3.938 kB / 0.5925 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.1716, allocations: 188.4 kB / 0.5927 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1719, allocations: 0.6848 MB / 0.5934 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.044e-05/0.1719, allocations: 4 kB / 0.5934 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.172, allocations: 7.438 kB / 0.5934 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.172, allocations: 3.938 kB / 0.5934 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.1863, allocations: 1.689 MB / 0.5951 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/0.1867, allocations: 190.8 kB / 0.5952 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/2.996, allocations: 4 kB / 0.5952 GB, free: 10.48 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: