Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_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.001193/0.001193, 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.001308/0.001308, allocations: 197.1 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7678/0.7678, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.88 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1657, allocations: 80.19 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002841/0.1686, allocations: 1.494 MB / 0.5816 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1699, allocations: 0.8008 MB / 0.5824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.17, allocations: 4 kB / 0.5824 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.17, allocations: 3.938 kB / 0.5824 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.1701, allocations: 11.86 kB / 0.5824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1705, allocations: 131.4 kB / 0.5826 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.1706, allocations: 51.78 kB / 0.5826 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1708, allocations: 15.98 kB / 0.5826 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.1708, allocations: 23.92 kB / 0.5827 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.1709, allocations: 23.91 kB / 0.5827 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1709, allocations: 4 kB / 0.5827 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.1712, allocations: 171.8 kB / 0.5828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1713, allocations: 15.88 kB / 0.5829 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.1713, allocations: 19.92 kB / 0.5829 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.1716, allocations: 151.9 kB / 0.583 GB, free: 5.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1716, allocations: 0 / 0.583 GB, free: 5.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1716, allocations: 0 / 0.583 GB, free: 5.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1716, allocations: 0 / 0.583 GB, free: 5.746 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.0005808/0.1722, allocations: 395.2 kB / 0.5834 GB, free: 5.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1722, allocations: 12.03 kB / 0.5834 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1723, allocations: 42.73 kB / 0.5835 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1723, allocations: 8.844 kB / 0.5835 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1724, allocations: 160.4 kB / 0.5836 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1724, allocations: 4.375 kB / 0.5836 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1725, allocations: 384 / 0.5836 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.1727, allocations: 78.14 kB / 0.5837 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1728, allocations: 3.938 kB / 0.5837 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1728, allocations: 7.984 kB / 0.5837 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1728, allocations: 7.938 kB / 0.5837 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.1731, allocations: 67.92 kB / 0.5838 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1735, allocations: 284.7 kB / 0.584 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1738, allocations: 66.47 kB / 0.5841 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.174, allocations: 36.91 kB / 0.5841 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.1742, allocations: 89.09 kB / 0.5842 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1742, allocations: 34.56 kB / 0.5843 GB, free: 4.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1742, allocations: 4 kB / 0.5843 GB, free: 4.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006258/0.1749, allocations: 133.4 kB / 0.5844 GB, free: 4.141 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1749, allocations: 55.34 kB / 0.5844 GB, free: 4.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1751, allocations: 117.8 kB / 0.5846 GB, free: 3.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1751, allocations: 29.7 kB / 0.5846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.1751, allocations: 88.14 kB / 0.5847 GB, free: 3.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1752, allocations: 7.906 kB / 0.5847 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1752, allocations: 13.72 kB / 0.5847 GB, free: 3.797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1754, allocations: 322.8 kB / 0.585 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1755, allocations: 27.97 kB / 0.585 GB, free: 3.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1757, allocations: 39.95 kB / 0.5851 GB, free: 3.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.176, allocations: 64.78 kB / 0.5851 GB, free: 3.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.176, allocations: 0 / 0.5851 GB, free: 3.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003579/0.1764, allocations: 105.5 kB / 0.5852 GB, free: 3.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1764, allocations: 10.66 kB / 0.5852 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1764, allocations: 0 / 0.5852 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1764, allocations: 0 / 0.5852 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1766, allocations: 15.98 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1766, allocations: 0 / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/0.1767, allocations: 15.97 kB / 0.5853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1767, allocations: 0 / 0.5853 GB, free: 3.191 MB / 494.1 MB 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.0001078/0.1768, allocations: 118.4 kB / 0.5854 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.1769, allocations: 7.906 kB / 0.5854 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.1773, allocations: 105.5 kB / 0.5855 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1773, allocations: 3.938 kB / 0.5855 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.1773, allocations: 4 kB / 0.5855 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1773, allocations: 3.938 kB / 0.5855 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1775, allocations: 177.6 kB / 0.5857 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1775, allocations: 4 kB / 0.5857 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.1776, allocations: 12.36 kB / 0.5857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1776, allocations: 0 / 0.5857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1776, allocations: 4 kB / 0.5857 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1777, allocations: 0 / 0.5857 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1777, allocations: 0 / 0.5857 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.1781, allocations: 203.4 kB / 0.5859 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1781, allocations: 88.95 kB / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1782, allocations: 0 / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1783, allocations: 11.98 kB / 0.586 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1783, allocations: 7.984 kB / 0.586 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1784, allocations: 0 / 0.586 GB, free: 2.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.1784, allocations: 102.9 kB / 0.5861 GB, free: 2.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1784, allocations: 4 kB / 0.5861 GB, free: 2.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.1788, allocations: 24 kB / 0.5861 GB, free: 2.227 MB / 494.1 MB 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.0007496/0.1795, allocations: 0.767 MB / 0.5869 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.1799, allocations: 71.86 kB / 0.5869 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1799, allocations: 4 kB / 0.5869 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.18, allocations: 35.95 kB / 0.587 GB, free: 1.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1804, allocations: 11.98 kB / 0.587 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.1825, allocations: 1.433 MB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1828, allocations: 0.6846 MB / 0.589 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.1828, allocations: 4 kB / 0.589 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.1829, allocations: 15.44 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.633e-06/0.1829, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.2007, allocations: 2.409 MB / 0.5914 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.505, allocations: 9.219 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.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_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)