Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.822/2.822, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001501/0.001501, allocations: 180.8 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.00106, allocations: 94.42 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.448e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9222, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/1.172, allocations: 139.1 MB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004454/1.172, allocations: 70.12 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01932/1.192, allocations: 2.491 MB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/1.192, allocations: 0 / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.192, allocations: 4 kB / 1.102 GB, free: 14.84 MB / 0.7136 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.0007289/1.192, allocations: 402.3 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.192, allocations: 8.031 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/1.193, allocations: 5.203 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/1.193, allocations: 185.4 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.193, allocations: 4.859 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/1.193, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001261/1.193, allocations: 20 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/1.193, allocations: 49.67 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.193, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.193, allocations: 4 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.193, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/1.194, allocations: 261.3 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/1.194, allocations: 30.58 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/1.194, allocations: 12.86 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/1.194, allocations: 97.19 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.194, allocations: 33.25 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/1.194, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005359/1.195, allocations: 77.56 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.195, allocations: 55.34 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.195, allocations: 102 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.195, allocations: 25.7 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/1.195, allocations: 96.12 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/1.195, allocations: 15.75 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/1.195, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.195, allocations: 310.8 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/1.195, allocations: 8 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/1.195, allocations: 12 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/1.196, allocations: 31.95 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.196, allocations: 5.531 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003979/1.196, allocations: 73.66 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.196, allocations: 10.19 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.196, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.196, allocations: 4 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.196, allocations: 19.98 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.196, allocations: 7.938 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/1.197, allocations: 15.98 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/1.197, allocations: 7.953 kB / 1.104 GB, free: 12.69 MB / 0.7136 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 (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 9.474e-05/1.197, allocations: 104.8 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003999/1.197, allocations: 77.56 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/1.197, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/1.198, allocations: 88.3 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.198, allocations: 3.938 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.198, allocations: 3.953 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.198, allocations: 8 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/1.198, allocations: 142.2 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.198, allocations: 11.55 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/1.198, allocations: 15.98 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/1.198, allocations: 4.281 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.198, allocations: 0 / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.198, allocations: 0 / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.198, allocations: 0 / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/1.199, allocations: 183.4 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/1.199, allocations: 77.11 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/1.199, allocations: 4 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/1.199, allocations: 19.97 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/1.199, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/1.199, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.964e-05/1.199, allocations: 99.2 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.199, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003826/1.2, allocations: 35.94 kB / 1.104 GB, free: 11.74 MB / 0.7136 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 (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.0009798/1.201, allocations: 0.7358 MB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001465/1.201, allocations: 28 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.201, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/1.201, allocations: 15.94 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.201, allocations: 16.09 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/1.202, allocations: 121.5 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/1.202, allocations: 0.6846 MB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.664e-05/1.202, allocations: 10.5 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/1.202, allocations: 16.64 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/1.202, allocations: 0 / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/1.246, allocations: 1.594 MB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000384/1.247, allocations: 145 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.759, allocations: 0 / 1.108 GB, free: 8.297 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)