Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001382/0.001382, allocations: 190.7 kB / 16.25 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.291/1.291, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 282.9 kB / 290.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 95.06 kB / 0.5948 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1834, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002529/0.186, allocations: 1.546 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1871, allocations: 0.7959 MB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1872, allocations: 1.812 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.1872, allocations: 3.938 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.1873, allocations: 11.92 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1877, allocations: 112.2 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.167e-05/0.1878, allocations: 59.78 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1879, allocations: 11.94 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.1879, allocations: 23.91 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.188, allocations: 27.91 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.188, allocations: 4 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.1883, allocations: 171.7 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1883, allocations: 15.91 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.1884, allocations: 27.88 kB / 0.6825 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1886, allocations: 143.7 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1886, allocations: 0 / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1886, allocations: 0 / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1886, allocations: 3.984 kB / 0.6826 GB, free: 14.03 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.0005099/0.1891, allocations: 403.2 kB / 0.683 GB, free: 13.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1892, allocations: 8.031 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.1892, allocations: 30.75 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1893, allocations: 12.84 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1894, allocations: 180.1 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1894, allocations: 384 / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1894, allocations: 8.375 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1897, allocations: 74.2 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1897, allocations: 3.938 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1897, allocations: 0 / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1897, allocations: 0 / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.19, allocations: 71.92 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.1903, allocations: 284.7 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1905, allocations: 62.53 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1907, allocations: 40.91 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.1908, allocations: 89.09 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1909, allocations: 30.56 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1909, allocations: 3.938 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005073/0.1914, allocations: 129.6 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1914, allocations: 51.41 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.1915, allocations: 121.8 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1916, allocations: 25.7 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.1916, allocations: 88.14 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1916, allocations: 19.88 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1917, allocations: 13.72 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.1918, allocations: 318.8 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1919, allocations: 35.95 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.192, allocations: 27.97 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.1923, allocations: 80.66 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1923, allocations: 0 / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002966/0.1926, allocations: 93.62 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1927, allocations: 4 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1927, allocations: 7.984 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1927, allocations: 0 / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1928, allocations: 19.97 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1928, allocations: 4 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.1929, allocations: 19.83 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1929, allocations: 0 / 0.6849 GB, free: 11.46 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 7.408e-05/0.193, allocations: 118.4 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.193, allocations: 0 / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1934, allocations: 113.5 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1934, allocations: 4 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1934, allocations: 0 / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1934, allocations: 3.984 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1936, allocations: 177.5 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1936, allocations: 0 / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.1937, allocations: 23.97 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1937, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1937, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1937, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1937, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.1941, allocations: 207.6 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.1941, allocations: 77.11 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.1941, allocations: 3.984 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1942, allocations: 11.98 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1943, allocations: 4.031 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1943, allocations: 4 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.1944, allocations: 95.27 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1944, allocations: 0 / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1946, allocations: 28 kB / 0.6857 GB, free: 10.5 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.0006744/0.1953, allocations: 0.7746 MB / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1956, allocations: 71.92 kB / 0.6865 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1957, allocations: 0 / 0.6865 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1958, allocations: 31.97 kB / 0.6866 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1961, allocations: 11.98 kB / 0.6866 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.1978, allocations: 1.43 MB / 0.688 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.198, allocations: 0.687 MB / 0.6886 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.1981, allocations: 4.156 kB / 0.6886 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.1981, allocations: 19.42 kB / 0.6887 GB, free: 7.344 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1981, allocations: 0 / 0.6887 GB, free: 7.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.2102, allocations: 2.248 MB / 0.6909 GB, free: 5.242 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.2105, allocations: 208.2 kB / 0.6911 GB, free: 4.992 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.971, allocations: 4 kB / 0.6911 GB, free: 4.988 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)