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.007628/0.007628, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001307/0.001307, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 70.5 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002952/0.1809, allocations: 1.488 MB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1822, allocations: 0.8069 MB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.1823, allocations: 4 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.1824, allocations: 7.875 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.1824, allocations: 15.86 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.183, allocations: 131.4 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.994e-05/0.1831, allocations: 47.86 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1832, allocations: 23.97 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1833, allocations: 15.92 kB / 0.6617 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1833, allocations: 23.92 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1834, allocations: 4 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1837, allocations: 175.7 kB / 0.6618 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.1837, allocations: 11.92 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.1838, allocations: 19.88 kB / 0.6619 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1841, allocations: 147.8 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1841, allocations: 4 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1841, allocations: 3.938 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1841, allocations: 4 kB / 0.662 GB, free: 11.08 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.0005823/0.1847, allocations: 398.9 kB / 0.6624 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1847, allocations: 12.03 kB / 0.6624 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.1848, allocations: 30.75 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.1848, allocations: 8.891 kB / 0.6625 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1849, allocations: 168.3 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.185, allocations: 4.375 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.185, allocations: 4.375 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1852, allocations: 78.2 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1853, allocations: 3.938 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1853, allocations: 3.938 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1853, allocations: 4 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.1856, allocations: 63.92 kB / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.186, allocations: 296.7 kB / 0.6631 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1862, allocations: 50.53 kB / 0.6631 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1863, allocations: 40.92 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.1865, allocations: 93.09 kB / 0.6632 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1866, allocations: 30.56 kB / 0.6633 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.1866, allocations: 0 / 0.6633 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005786/0.1872, allocations: 137.7 kB / 0.6634 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1872, allocations: 55.41 kB / 0.6634 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1873, allocations: 113.8 kB / 0.6636 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1874, allocations: 25.7 kB / 0.6636 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.1874, allocations: 92.12 kB / 0.6637 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1875, allocations: 19.78 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.1875, allocations: 13.72 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1877, allocations: 322.8 kB / 0.664 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1878, allocations: 35.95 kB / 0.664 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.188, allocations: 31.95 kB / 0.6641 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.1883, allocations: 68.78 kB / 0.6641 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1883, allocations: 0 / 0.6641 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003733/0.1887, allocations: 101.6 kB / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1887, allocations: 8 kB / 0.6642 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1887, allocations: 3.984 kB / 0.6642 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1887, allocations: 0 / 0.6642 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1889, allocations: 15.97 kB / 0.6643 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1889, allocations: 4 kB / 0.6643 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.189, allocations: 15.94 kB / 0.6643 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.189, allocations: 4 kB / 0.6643 GB, free: 8.516 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 9.448e-05/0.1891, allocations: 114.4 kB / 0.6644 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1892, allocations: 4 kB / 0.6644 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.1896, allocations: 109.5 kB / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1896, allocations: 7.984 kB / 0.6645 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1896, allocations: 0 / 0.6645 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1896, allocations: 0 / 0.6645 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1898, allocations: 169.6 kB / 0.6647 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1898, allocations: 0 / 0.6647 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1899, allocations: 23.97 kB / 0.6647 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.19, allocations: 0 / 0.6647 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.19, allocations: 0 / 0.6647 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.19, allocations: 4 kB / 0.6647 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.19, allocations: 0 / 0.6647 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.1904, allocations: 203.2 kB / 0.6649 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1904, allocations: 89.05 kB / 0.665 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1905, allocations: 4 kB / 0.665 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1906, allocations: 7.984 kB / 0.665 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.1906, allocations: 8 kB / 0.665 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1906, allocations: 0 / 0.665 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.1907, allocations: 95.2 kB / 0.6651 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1907, allocations: 0 / 0.6651 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002899/0.191, allocations: 39.86 kB / 0.6651 GB, free: 7.543 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.0008204/0.1918, allocations: 0.7592 MB / 0.6659 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.1922, allocations: 68.14 kB / 0.6659 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1922, allocations: 8 kB / 0.6659 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1924, allocations: 31.97 kB / 0.666 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1927, allocations: 13.73 kB / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1946, allocations: 1.43 MB / 0.6674 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1949, allocations: 0.6846 MB / 0.668 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.1949, allocations: 4 kB / 0.6681 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.195, allocations: 11.44 kB / 0.6681 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.195, allocations: 4 kB / 0.6681 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.2118, allocations: 2.443 MB / 0.6705 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.965, allocations: 3.281 kB / 0.6705 GB, free: 2.07 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)