Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009402/0.0009401, allocations: 179.4 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008644/0.0008644, allocations: 98.09 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 11.47 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00161/0.2158, allocations: 1.211 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2171, allocations: 0.8195 MB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.2171, allocations: 4 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.2172, allocations: 0 / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.2173, allocations: 15.91 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.2178, allocations: 111.5 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.969e-05/0.2179, allocations: 47.84 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.218, allocations: 16 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.2181, allocations: 23.91 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.2182, allocations: 15.92 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2182, allocations: 4 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.2185, allocations: 167.7 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.2186, allocations: 19.91 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.2186, allocations: 41.58 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.2189, allocations: 135.9 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2189, allocations: 3.938 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2189, allocations: 0 / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2189, allocations: 4 kB / 0.9035 GB, free: 60.75 MB / 0.6042 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.0004833/0.2194, allocations: 399.3 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2195, allocations: 12.03 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.2195, allocations: 38.73 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2195, allocations: 12.84 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.2196, allocations: 168.3 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2196, allocations: 4.375 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.2197, allocations: 384 / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.2199, allocations: 94.14 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2199, allocations: 7.938 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.22, allocations: 0 / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.22, allocations: 0 / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.2203, allocations: 87.92 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.2206, allocations: 280.8 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2208, allocations: 70.47 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2209, allocations: 48.91 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.2211, allocations: 97.09 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2211, allocations: 34.56 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2211, allocations: 0 / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005108/0.2216, allocations: 157.6 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2217, allocations: 63.34 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.2218, allocations: 125.6 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.2218, allocations: 25.7 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.2218, allocations: 88.14 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2218, allocations: 7.844 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.2219, allocations: 4 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.2219, allocations: 322.8 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2221, allocations: 43.97 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2222, allocations: 51.92 kB / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.2224, allocations: 92.8 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2225, allocations: 0 / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000295/0.2228, allocations: 125.5 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2228, allocations: 7.938 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2228, allocations: 0 / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2228, allocations: 4 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2229, allocations: 15.98 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2229, allocations: 3.938 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.223, allocations: 19.98 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.223, allocations: 8 kB / 0.9059 GB, free: 58.03 MB / 0.6042 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 6.381e-05/0.2231, allocations: 113.8 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.2231, allocations: 7.906 kB / 0.906 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.2235, allocations: 129.5 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2235, allocations: 0 / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2235, allocations: 0 / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2235, allocations: 0 / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2236, allocations: 181.6 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2237, allocations: 3.938 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.2238, allocations: 19.98 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2238, allocations: 0 / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2238, allocations: 4 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2238, allocations: 0 / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2238, allocations: 0 / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.2241, allocations: 223.4 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.2242, allocations: 81.02 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2242, allocations: 8 kB / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2243, allocations: 15.98 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.2244, allocations: 7.984 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2244, allocations: 0 / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.2244, allocations: 95.27 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2244, allocations: 4 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002495/0.2247, allocations: 31.94 kB / 0.9068 GB, free: 57.02 MB / 0.6042 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.0006246/0.2253, allocations: 0.7825 MB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.2256, allocations: 92.2 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2257, allocations: 0 / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2258, allocations: 55.89 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2261, allocations: 8.188 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2277, allocations: 1.493 MB / 0.9091 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2278, allocations: 0.6811 MB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.2279, allocations: 7.984 kB / 0.9098 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2279, allocations: 23.38 kB / 0.9098 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2279, allocations: 4 kB / 0.9098 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2399, allocations: 2.115 MB / 0.9119 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.2401, allocations: 214.7 kB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.862, allocations: 0 / 0.9121 GB, free: 51.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)