Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001185/0.001186, allocations: 183.6 kB / 377.1 MB, free: 1.543 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.972/1.972, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0009993/0.0009995, allocations: 98.97 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3191, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7722/1.091, allocations: 140.6 MB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.092, allocations: 88.19 kB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00798/1.1, allocations: 2.651 MB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/1.1, allocations: 4 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.1, allocations: 0 / 1.128 GB, free: 32.35 MB / 0.7292 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.0003503/1.1, allocations: 370.4 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.1, allocations: 16.02 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/1.1, allocations: 30.56 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/1.1, allocations: 15.25 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.685e-05/1.1, allocations: 163.4 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/1.1, allocations: 33.14 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/1.1, allocations: 4 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/1.101, allocations: 44.64 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.101, allocations: 4 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.101, allocations: 1.531 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.101, allocations: 0 / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/1.101, allocations: 15.52 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/1.101, allocations: 158.2 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/1.101, allocations: 45.89 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/1.101, allocations: 189.7 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/1.101, allocations: 36.97 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/1.101, allocations: 0 / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002224/1.102, allocations: 60.69 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/1.102, allocations: 55.34 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/1.102, allocations: 90.5 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/1.102, allocations: 29.7 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/1.102, allocations: 80.14 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/1.102, allocations: 27.2 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/1.102, allocations: 0.75 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.04e-05/1.102, allocations: 310.8 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/1.102, allocations: 15.56 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/1.102, allocations: 4 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/1.102, allocations: 23.03 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.102, allocations: 4 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/1.102, allocations: 51.98 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.102, allocations: 4 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.102, allocations: 1.312 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.102, allocations: 4 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/1.102, allocations: 7.938 kB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.102, allocations: 0 / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/1.102, allocations: 11.33 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.102, allocations: 0.875 kB / 1.13 GB, free: 30.3 MB / 0.7292 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 (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 5.377e-05/1.102, allocations: 113.8 kB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/1.102, allocations: 7.906 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.102, allocations: 62.97 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.102, allocations: 4 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.103, allocations: 3.562 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.103, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.086e-05/1.103, allocations: 157.1 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.103, allocations: 4.641 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/1.103, allocations: 15.94 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.103, allocations: 1.5 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.103, allocations: 0 / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.103, allocations: 3.234 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.103, allocations: 1.125 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/1.103, allocations: 80.03 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/1.103, allocations: 85.06 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/1.103, allocations: 0 / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-05/1.103, allocations: 8.031 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/1.103, allocations: 4 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/1.103, allocations: 4.938 kB / 1.131 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.162e-05/1.103, allocations: 83.78 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.103, allocations: 0 / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002305/1.103, allocations: 35.94 kB / 1.131 GB, free: 29.57 MB / 0.7292 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 (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.0004224/1.104, allocations: 0.6721 MB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001265/1.104, allocations: 27.03 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.104, allocations: 0 / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/1.104, allocations: 19.41 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/1.104, allocations: 4.656 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/1.104, allocations: 187.6 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/1.105, allocations: 0.6799 MB / 1.132 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.76e-05/1.105, allocations: 11.8 kB / 1.132 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/1.105, allocations: 11.44 kB / 1.132 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/1.105, allocations: 0.5625 kB / 1.132 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/1.117, allocations: 1.621 MB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/1.117, allocations: 188.1 kB / 1.134 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.745, allocations: 4 kB / 1.134 GB, free: 26.82 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)