Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001028/0.001028, allocations: 180.9 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0009377/0.000938, allocations: 98.5 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.126e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8102, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/1.037, allocations: 138.9 MB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.037, allocations: 75.95 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008089/1.045, allocations: 2.645 MB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/1.045, allocations: 0 / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.045, allocations: 0 / 1.103 GB, free: 14.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003739/1.046, allocations: 363.3 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.046, allocations: 10.75 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/1.046, allocations: 5.016 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.046, allocations: 174.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/1.046, allocations: 25.7 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/1.046, allocations: 4 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.564e-05/1.046, allocations: 16 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/1.046, allocations: 35.19 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.046, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.046, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.046, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/1.047, allocations: 138.2 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/1.047, allocations: 42.72 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/1.047, allocations: 16.78 kB / 1.104 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/1.047, allocations: 182.2 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.047, allocations: 38.55 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/1.047, allocations: 0 / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004618/1.048, allocations: 91.97 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/1.048, allocations: 51.41 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/1.048, allocations: 100.9 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/1.048, allocations: 25.7 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/1.048, allocations: 80.14 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/1.048, allocations: 15.75 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/1.048, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/1.048, allocations: 314.8 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/1.048, allocations: 8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/1.048, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/1.048, allocations: 55.94 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.048, allocations: 3.938 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003429/1.049, allocations: 97.58 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.049, allocations: 6.156 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.049, allocations: 0 / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.049, allocations: 0 / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/1.049, allocations: 11.98 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.049, allocations: 0 / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/1.049, allocations: 4 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.049, allocations: 4 kB / 1.105 GB, free: 12.05 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 (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 7.33e-05/1.049, allocations: 101.7 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003505/1.049, allocations: 108.5 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/1.049, allocations: 3.906 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/1.05, allocations: 106.1 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.05, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.05, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.05, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.522e-05/1.05, allocations: 138.2 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.05, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/1.05, allocations: 7.953 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.05, allocations: 4 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.05, allocations: 3.984 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.05, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.05, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/1.05, allocations: 125 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/1.05, allocations: 85.02 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/1.05, allocations: 9.344 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/1.05, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/1.05, allocations: 7.938 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/1.05, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.533e-05/1.05, allocations: 83.28 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002267/1.051, allocations: 35.92 kB / 1.105 GB, free: 11.15 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 (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.0007714/1.051, allocations: 0.6991 MB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/1.052, allocations: 16 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.052, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/1.052, allocations: 15.98 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/1.052, allocations: 13.64 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/1.052, allocations: 106.5 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.052, allocations: 0.6768 MB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.792e-05/1.052, allocations: 11.98 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/1.052, allocations: 11.44 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.052, allocations: 0 / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/1.072, allocations: 1.333 MB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.072, allocations: 158.6 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.574, allocations: 4 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)