Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009029/0.0009028, allocations: 180.3 kB / 316.3 MB, free: 3.301 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.554/1.554, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008213/0.0008209, allocations: 90.47 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.371e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.676/0.8669, allocations: 133.6 MB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.8672, allocations: 85.69 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008102/0.8753, allocations: 2.627 MB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8753, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8753, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003705/0.8757, allocations: 365.4 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8758, allocations: 8.031 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.8758, allocations: 7.562 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.8759, allocations: 174.9 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/0.876, allocations: 29.7 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.876, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.117e-05/0.8761, allocations: 8 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/0.8762, allocations: 37.62 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8762, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.8762, allocations: 3.938 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.8762, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.8764, allocations: 137.8 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.8766, allocations: 36.58 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.8766, allocations: 15.86 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.8769, allocations: 182.3 kB / 1.019 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.8769, allocations: 37.75 kB / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8769, allocations: 0 / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004654/0.8774, allocations: 91.59 kB / 1.019 GB, free: 280 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.8774, allocations: 54.78 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.8775, allocations: 92.98 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.8775, allocations: 25.7 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.8776, allocations: 84.14 kB / 1.02 GB, free: 16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.8776, allocations: 14.72 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.8776, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8777, allocations: 310.8 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.8778, allocations: 7.25 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.8778, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.8781, allocations: 58.48 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8781, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003527/0.8785, allocations: 107.8 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8785, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8785, allocations: 3.984 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.8785, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.438e-05/0.8786, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.8786, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.8786, allocations: 8.859 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8787, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.714e-05/0.8787, allocations: 105 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003504/0.8791, allocations: 102.5 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.8791, allocations: 4.422 kB / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.8795, allocations: 109.4 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8795, allocations: 4 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8795, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8795, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.8797, allocations: 145.4 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8797, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.8797, allocations: 12 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8797, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.8797, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.8797, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8798, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.8801, allocations: 127 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.8802, allocations: 85.06 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.8802, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.8803, allocations: 7.984 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.8803, allocations: 6.688 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.8803, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.8804, allocations: 79.28 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8804, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002437/0.8806, allocations: 42.61 kB / 1.021 GB, free: 14.61 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0008225/0.8815, allocations: 0.7022 MB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.8816, allocations: 18.56 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8816, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.8816, allocations: 11.88 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.8818, allocations: 11.92 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.8821, allocations: 101.5 kB / 1.022 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8824, allocations: 0.6807 MB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.8824, allocations: 3.859 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.8825, allocations: 15.25 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.8825, allocations: 0 / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.9021, allocations: 1.341 MB / 1.024 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.9024, allocations: 163.9 kB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.389, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)