Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_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.4/1.4, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001276/0.001277, allocations: 185.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.00109/0.00109, allocations: 90.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 9.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2435, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.4725, allocations: 158.9 MB / 1.055 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.4729, allocations: 75.95 kB / 1.055 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5567/1.03, allocations: 2.161 MB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/1.03, allocations: 3.062 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.03, allocations: 0 / 1.057 GB, free: 158.4 MB / 0.698 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.0005419/1.03, allocations: 381.3 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.03, allocations: 12.19 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/1.03, allocations: 38.22 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/1.03, allocations: 8.141 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.031, allocations: 174.5 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/1.031, allocations: 2.75 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/1.031, allocations: 2.656 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/1.031, allocations: 87.45 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.031, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.031, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.031, allocations: 0 / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/1.031, allocations: 102.1 kB / 1.058 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/1.032, allocations: 275.6 kB / 1.059 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/1.032, allocations: 71.06 kB / 1.059 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/1.032, allocations: 91.38 kB / 1.059 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/1.032, allocations: 40.08 kB / 1.059 GB, free: 157.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/1.033, allocations: 0 / 1.059 GB, free: 157.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008311/1.033, allocations: 166.5 kB / 1.059 GB, free: 157.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.033, allocations: 51.41 kB / 1.059 GB, free: 157.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/1.034, allocations: 113.3 kB / 1.059 GB, free: 157.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/1.034, allocations: 29.7 kB / 1.059 GB, free: 157.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/1.034, allocations: 92.97 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/1.034, allocations: 14.31 kB / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/1.034, allocations: 0 / 1.059 GB, free: 157 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/1.034, allocations: 314.2 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.034, allocations: 44.45 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/1.034, allocations: 42.69 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.034, allocations: 45.27 kB / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.034, allocations: 0 / 1.06 GB, free: 156.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004753/1.035, allocations: 120.8 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.035, allocations: 5.75 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.035, allocations: 0 / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.035, allocations: 3.953 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/1.035, allocations: 24.72 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.035, allocations: 7.938 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/1.035, allocations: 24.19 kB / 1.06 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/1.035, allocations: 1.625 kB / 1.06 GB, free: 156.6 MB / 0.698 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 6.831e-05/1.035, allocations: 115.2 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/1.035, allocations: 3 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/1.036, allocations: 125.2 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.036, allocations: 9.266 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.036, allocations: 0.8438 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.036, allocations: 1.312 kB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/1.036, allocations: 172.2 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.036, allocations: 1.625 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.036, allocations: 23.36 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.036, allocations: 0 / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.036, allocations: 1.312 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.036, allocations: 0 / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.037, allocations: 7.953 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/1.037, allocations: 220.2 kB / 1.06 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/1.037, allocations: 79.92 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.037, allocations: 7.219 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.037, allocations: 16.28 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/1.037, allocations: 7.328 kB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.037, allocations: 6.516 kB / 1.061 GB, free: 156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.764e-05/1.037, allocations: 96.95 kB / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/1.037, allocations: 0 / 1.061 GB, free: 155.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004219/1.038, allocations: 12.06 kB / 1.061 GB, free: 155.9 MB / 0.698 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.0008153/1.039, allocations: 0.7923 MB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004911/1.039, allocations: 88.36 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.039, allocations: 4 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/1.039, allocations: 50.19 kB / 1.062 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/1.04, allocations: 13.61 kB / 1.062 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.041, allocations: 0.5852 MB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/1.041, allocations: 0.6844 MB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.544e-05/1.042, allocations: 3.484 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/1.042, allocations: 18.08 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.042, allocations: 0 / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/1.059, allocations: 2.252 MB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.059, allocations: 193.7 kB / 1.065 GB, free: 153.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.662, allocations: 0 / 1.065 GB, free: 153.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)