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.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00116/0.001161, allocations: 184.4 kB / 326.5 MB, free: 2.223 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.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009064/0.0009064, allocations: 92.23 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2584, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001672/0.2601, allocations: 1.199 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.2611, allocations: 0.6729 MB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.2611, allocations: 0 / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2612, allocations: 3.984 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.2612, allocations: 15.97 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.2617, allocations: 103.6 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.411e-05/0.2617, allocations: 31.95 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2619, allocations: 15.98 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.2619, allocations: 15.92 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.262, allocations: 19.92 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.262, allocations: 4 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.2623, allocations: 171.7 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.2624, allocations: 7.938 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2624, allocations: 33.64 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2626, allocations: 96.08 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2626, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2627, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2627, allocations: 4 kB / 0.9025 GB, free: 61.42 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.00056/0.2632, allocations: 395.2 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.2633, allocations: 8.031 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.2633, allocations: 34.56 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2634, allocations: 11.91 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2635, allocations: 175 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2635, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2635, allocations: 4 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.2638, allocations: 81.59 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2638, allocations: 4 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2639, allocations: 4 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2639, allocations: 4 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.2642, allocations: 91.86 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.2645, allocations: 280.7 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.2647, allocations: 74.47 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.2649, allocations: 93.19 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2649, allocations: 30.56 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.2649, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005423/0.2655, allocations: 157.6 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.2655, allocations: 63.34 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.2656, allocations: 121.6 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.2656, allocations: 25.7 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.2656, allocations: 99.98 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.2657, allocations: 3.906 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.2657, allocations: 4 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.2657, allocations: 322.8 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2659, allocations: 35.97 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.266, allocations: 47.95 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2662, allocations: 39.97 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2662, allocations: 4 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003004/0.2665, allocations: 121.5 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2665, allocations: 4 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2665, allocations: 3.984 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2665, allocations: 7.938 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2667, allocations: 15.98 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2667, allocations: 4 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.2668, allocations: 27.88 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2668, allocations: 0 / 0.9048 GB, free: 58.83 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.476e-05/0.2668, allocations: 113.8 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2669, allocations: 8.328 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.2672, allocations: 137.5 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2672, allocations: 0 / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2673, allocations: 0 / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2673, allocations: 0 / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2674, allocations: 169.6 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2674, allocations: 7.938 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/0.2675, allocations: 23.97 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2675, allocations: 0 / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2675, allocations: 4 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2675, allocations: 0 / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2675, allocations: 0 / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.2679, allocations: 223.3 kB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.2679, allocations: 85 kB / 0.9055 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2679, allocations: 8 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.268, allocations: 15.98 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2681, allocations: 3.984 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.2681, allocations: 0 / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.2681, allocations: 91.28 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2681, allocations: 4 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002449/0.2684, allocations: 31.98 kB / 0.9056 GB, free: 57.82 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.0005682/0.269, allocations: 0.7839 MB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.2693, allocations: 91.92 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2693, allocations: 0 / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2694, allocations: 43.97 kB / 0.9065 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2697, allocations: 7.984 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2707, allocations: 0.5831 MB / 0.9071 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.2709, allocations: 0.6889 MB / 0.9078 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.271, allocations: 7.984 kB / 0.9078 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.271, allocations: 19.38 kB / 0.9078 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.271, allocations: 0 / 0.9078 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.2835, allocations: 2.085 MB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.2837, allocations: 188.7 kB / 0.91 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.969, allocations: 0 / 0.91 GB, free: 53.33 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)