Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.626/1.626, allocations: 288.4 MB / 303.6 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009963/0.0009965, allocations: 168.5 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007361/0.0007361, allocations: 104.7 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 19.8 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001593/0.2127, allocations: 1.191 MB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2138, allocations: 0.7624 MB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.2139, allocations: 0 / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2139, allocations: 3.984 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.214, allocations: 15.86 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2145, allocations: 111.6 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.2146, allocations: 51.8 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2148, allocations: 16.25 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.2148, allocations: 15.94 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.2149, allocations: 23.91 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2149, allocations: 0 / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.2152, allocations: 167.7 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.2152, allocations: 11.98 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.2153, allocations: 41.58 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.2155, allocations: 107.7 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2155, allocations: 3.938 kB / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2155, allocations: 0 / 0.9826 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2155, allocations: 0 / 0.9826 GB, free: 24.71 MB / 0.6198 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.0004767/0.216, allocations: 399.3 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2161, allocations: 12.03 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.2161, allocations: 34.73 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2161, allocations: 8.844 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.2162, allocations: 168.3 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2162, allocations: 4.375 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.2163, allocations: 384 / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.2165, allocations: 98.14 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2165, allocations: 3.938 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2166, allocations: 0 / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2166, allocations: 0 / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.2169, allocations: 95.92 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.2172, allocations: 288.7 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.2175, allocations: 66.48 kB / 0.9838 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2176, allocations: 52.91 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.2178, allocations: 89.09 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2178, allocations: 38.5 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2178, allocations: 0 / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000564/0.2184, allocations: 161.5 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.2184, allocations: 59.39 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.2185, allocations: 113.8 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.2185, allocations: 25.7 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.2186, allocations: 92.08 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2186, allocations: 15.81 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2186, allocations: 0 / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.2186, allocations: 322.8 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2188, allocations: 35.97 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2189, allocations: 47.95 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.2192, allocations: 92.78 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2192, allocations: 0 / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003133/0.2195, allocations: 125.6 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2196, allocations: 5.719 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2196, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2196, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2197, allocations: 23.98 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2197, allocations: 0 / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.2198, allocations: 23.88 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2198, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.2199, allocations: 117.8 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.2199, allocations: 12 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.2203, allocations: 125.8 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2203, allocations: 8 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2203, allocations: 3.938 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2203, allocations: 0 / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.2204, allocations: 177.5 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2205, allocations: 0 / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.2206, allocations: 23.98 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2206, allocations: 4 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2206, allocations: 0 / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2206, allocations: 0 / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2206, allocations: 0 / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.2209, allocations: 223.3 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.2209, allocations: 77.11 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.221, allocations: 0 / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2211, allocations: 23.98 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2211, allocations: 7.984 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2211, allocations: 0 / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.2212, allocations: 99.58 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2212, allocations: 7.875 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002509/0.2214, allocations: 32 kB / 0.9859 GB, free: 20.98 MB / 0.6198 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 (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.0006189/0.2221, allocations: 0.7865 MB / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2224, allocations: 87.92 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2224, allocations: 0 / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.2226, allocations: 51.89 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2229, allocations: 10.06 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2239, allocations: 0.5796 MB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.224, allocations: 0.6848 MB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.224, allocations: 7.984 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.2241, allocations: 11.44 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.2241, allocations: 4 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.2424, allocations: 2.088 MB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.2426, allocations: 191.2 kB / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.994, allocations: 3.938 kB / 0.9903 GB, free: 16.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)