Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.007318/0.007319, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.00184/0.00184, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 295 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 95.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1845, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002287/0.1868, allocations: 1.266 MB / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1881, allocations: 0.8268 MB / 0.768 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.1882, allocations: 4 kB / 0.768 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1882, allocations: 0 / 0.768 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.1882, allocations: 3.938 kB / 0.768 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.1887, allocations: 135.4 kB / 0.7681 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.1888, allocations: 23.92 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.1888, allocations: 4 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.1889, allocations: 7.938 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.1889, allocations: 15.92 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1889, allocations: 4 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.1893, allocations: 163.8 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.1893, allocations: 3.938 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1893, allocations: 19.92 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1896, allocations: 119.9 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1896, allocations: 3.984 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1896, allocations: 0 / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.1896, allocations: 4 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB 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.0004978/0.1901, allocations: 363.1 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1902, allocations: 12.03 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1902, allocations: 34.73 kB / 0.7688 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1902, allocations: 4.938 kB / 0.7688 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1904, allocations: 172.3 kB / 0.769 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.1905, allocations: 34.27 kB / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1905, allocations: 384 / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1907, allocations: 49.94 kB / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1907, allocations: 0 / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1907, allocations: 0 / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1907, allocations: 0 / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.1908, allocations: 19.98 kB / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.191, allocations: 157.7 kB / 0.7693 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1913, allocations: 50.59 kB / 0.7693 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.1913, allocations: 12.86 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.1917, allocations: 182.3 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1917, allocations: 46.44 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1917, allocations: 0 / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002606/0.192, allocations: 65.67 kB / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.192, allocations: 51.41 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.1921, allocations: 97.84 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1921, allocations: 29.7 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.1922, allocations: 84.12 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1922, allocations: 15.84 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.1923, allocations: 21.72 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1924, allocations: 314.8 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.1925, allocations: 4 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.1925, allocations: 16 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.1926, allocations: 29.25 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1926, allocations: 0 / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.1928, allocations: 57.69 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.1928, allocations: 11.94 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1928, allocations: 3.938 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1929, allocations: 4.031 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.1929, allocations: 11.98 kB / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1929, allocations: 0 / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.193, allocations: 3.938 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.193, allocations: 4 kB / 0.7703 GB, free: 4.133 MB / 0.5606 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 8.426e-05/0.1931, allocations: 114.4 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1931, allocations: 7.891 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.1933, allocations: 69.17 kB / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1933, allocations: 0 / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1933, allocations: 0 / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1933, allocations: 0 / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1934, allocations: 157.7 kB / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1934, allocations: 0 / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.1935, allocations: 7.984 kB / 0.7707 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.1935, allocations: 7.938 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1935, allocations: 0 / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1935, allocations: 4 kB / 0.7707 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1935, allocations: 0 / 0.7707 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1937, allocations: 89.06 kB / 0.7708 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1938, allocations: 89 kB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1938, allocations: 4 kB / 0.7708 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.1939, allocations: 3.984 kB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1939, allocations: 4 kB / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1939, allocations: 4 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.194, allocations: 79.28 kB / 0.7709 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.194, allocations: 0 / 0.7709 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002441/0.1942, allocations: 39.8 kB / 0.771 GB, free: 3.363 MB / 0.5606 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.0006378/0.1949, allocations: 0.6591 MB / 0.7716 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.195, allocations: 31.97 kB / 0.7716 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1951, allocations: 0 / 0.7716 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.1951, allocations: 12 kB / 0.7717 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1954, allocations: 23.86 kB / 0.7717 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.1958, allocations: 166.9 kB / 0.7718 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1961, allocations: 0.6807 MB / 0.7725 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.1961, allocations: 4.469 kB / 0.7725 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1962, allocations: 17.56 kB / 0.7725 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1962, allocations: 0 / 0.7725 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3566/0.5528, allocations: 1.95 MB / 0.7744 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.361, allocations: 5.922 kB / 0.7744 GB, free: 14.46 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)