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.486/1.486, allocations: 252 MB / 267 MB, free: 10.96 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.001131/0.001132, allocations: 182.9 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.701/2.701, allocations: 205.4 MB / 0.5777 GB, free: 20.31 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.001122/0.001122, allocations: 84.08 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005387, allocations: 9 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2355, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001417/0.237, allocations: 1.192 MB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.2379, allocations: 0.7694 MB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.2379, allocations: 0 / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.2379, allocations: 3.938 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.238, allocations: 15.91 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.2384, allocations: 107.6 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.2384, allocations: 51.78 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.516e-05/0.2385, allocations: 4 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.2386, allocations: 19.92 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.2386, allocations: 23.91 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2386, allocations: 0 / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.2389, allocations: 175.7 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.2389, allocations: 7.938 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.2389, allocations: 29.7 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2391, allocations: 108.1 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2391, allocations: 0 / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2391, allocations: 0 / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2391, allocations: 0 / 0.9027 GB, free: 61.25 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.0004228/0.2395, allocations: 399.2 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2396, allocations: 8.031 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.2396, allocations: 38.5 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.2397, allocations: 3.906 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.2397, allocations: 174.9 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2397, allocations: 4 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.2398, allocations: 4 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.24, allocations: 85.64 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.24, allocations: 0 / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.24, allocations: 4 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.24, allocations: 0 / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.2403, allocations: 91.92 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.2406, allocations: 292.7 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2409, allocations: 62.55 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.241, allocations: 52.91 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.2412, allocations: 89.09 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.2412, allocations: 30.56 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.2412, allocations: 3.938 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005183/0.2417, allocations: 169.5 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.2418, allocations: 55.36 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.2418, allocations: 117.7 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.2418, allocations: 29.7 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.2419, allocations: 88.05 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.2419, allocations: 23.83 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.2419, allocations: 0 / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.2419, allocations: 314.8 kB / 0.9048 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2421, allocations: 39.95 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2422, allocations: 48.14 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2424, allocations: 39.97 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2424, allocations: 0 / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.2427, allocations: 129.5 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2427, allocations: 8 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2427, allocations: 0 / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2427, allocations: 0 / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2429, allocations: 23.98 kB / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2429, allocations: 11.89 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.243, allocations: 19.98 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.243, allocations: 0 / 0.9051 GB, free: 58.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.243, allocations: 113.8 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2431, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.2434, allocations: 129.5 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2434, allocations: 0 / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2434, allocations: 3.938 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2434, allocations: 7.953 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.2436, allocations: 173.6 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2436, allocations: 0 / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.2437, allocations: 19.98 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2437, allocations: 0 / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2437, allocations: 4 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2437, allocations: 0 / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2437, allocations: 0 / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.244, allocations: 227.3 kB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.2441, allocations: 85.02 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2441, allocations: 0 / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2442, allocations: 19.98 kB / 0.9058 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.2443, allocations: 3.984 kB / 0.9058 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2443, allocations: 4 kB / 0.9059 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.2443, allocations: 91.27 kB / 0.9059 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2443, allocations: 7.938 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002642/0.2446, allocations: 39.88 kB / 0.906 GB, free: 57.58 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 (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.0005979/0.2452, allocations: 0.7749 MB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.2455, allocations: 91.92 kB / 0.9068 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2455, allocations: 0 / 0.9068 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.2457, allocations: 59.83 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.246, allocations: 4.469 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2472, allocations: 0.5805 MB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2473, allocations: 0.6848 MB / 0.9081 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.2474, allocations: 3.984 kB / 0.9081 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.2474, allocations: 19.42 kB / 0.9081 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2474, allocations: 0 / 0.9081 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.2609, allocations: 2.095 MB / 0.9102 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.2612, allocations: 197 kB / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.779, allocations: 3.938 kB / 0.9104 GB, free: 53.09 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)