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.459/1.459, allocations: 249.5 MB / 257 MB, free: 6.98 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.001041/0.001041, allocations: 172.7 kB / 316.3 MB, free: 3.309 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.782/1.782, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009051/0.0009052, allocations: 98.38 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.784e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2154, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8063/1.022, allocations: 159.1 MB / 1.041 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.022, allocations: 75.25 kB / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.005845/1.028, allocations: 2.128 MB / 1.043 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.634e-06/1.028, allocations: 0 / 1.043 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.798e-06/1.028, allocations: 4 kB / 1.043 GB, free: 8.824 MB / 0.6667 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.0004669/1.029, allocations: 374.3 kB / 1.043 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.029, allocations: 12.03 kB / 1.043 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/1.029, allocations: 7.859 kB / 1.043 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1.029, allocations: 174.9 kB / 1.043 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.029, allocations: 0 / 1.043 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/1.029, allocations: 8 kB / 1.043 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.871e-05/1.029, allocations: 22 kB / 1.043 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/1.029, allocations: 41.69 kB / 1.043 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.029, allocations: 4 kB / 1.043 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.029, allocations: 0 / 1.043 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.029, allocations: 3.953 kB / 1.043 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/1.03, allocations: 255.1 kB / 1.044 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/1.03, allocations: 44.48 kB / 1.044 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/1.03, allocations: 11.98 kB / 1.044 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/1.03, allocations: 87.94 kB / 1.044 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/1.03, allocations: 34.55 kB / 1.044 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/1.03, allocations: 0 / 1.044 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002468/1.03, allocations: 56.27 kB / 1.044 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/1.03, allocations: 55.41 kB / 1.044 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/1.03, allocations: 107 kB / 1.044 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.03, allocations: 25.7 kB / 1.044 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/1.03, allocations: 94.72 kB / 1.044 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/1.03, allocations: 7.906 kB / 1.044 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.03, allocations: 0 / 1.044 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.031, allocations: 314 kB / 1.044 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/1.031, allocations: 7.25 kB / 1.044 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/1.031, allocations: 11.56 kB / 1.044 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.498e-05/1.031, allocations: 15.23 kB / 1.044 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.031, allocations: 0 / 1.044 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/1.031, allocations: 56.47 kB / 1.045 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.031, allocations: 4 kB / 1.045 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.031, allocations: 384 / 1.045 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.031, allocations: 7.812 kB / 1.045 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.031, allocations: 19.94 kB / 1.045 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.031, allocations: 11.98 kB / 1.045 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/1.031, allocations: 15.92 kB / 1.045 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/1.031, allocations: 7.938 kB / 1.045 GB, free: 6.832 MB / 0.6667 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 8.955e-05/1.031, allocations: 101 kB / 1.045 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001335/1.031, allocations: 56.56 kB / 1.045 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/1.031, allocations: 7.906 kB / 1.045 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/1.032, allocations: 70.53 kB / 1.045 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.032, allocations: 0 / 1.045 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.032, allocations: 0 / 1.045 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.032, allocations: 0 / 1.045 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/1.032, allocations: 148.2 kB / 1.045 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.032, allocations: 0 / 1.045 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.032, allocations: 23.97 kB / 1.045 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.032, allocations: 0 / 1.045 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.032, allocations: 0 / 1.045 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.032, allocations: 4 kB / 1.045 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.032, allocations: 3.953 kB / 1.045 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/1.032, allocations: 149.2 kB / 1.045 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/1.032, allocations: 81.34 kB / 1.045 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/1.032, allocations: 3.984 kB / 1.045 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.032, allocations: 22.64 kB / 1.045 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/1.032, allocations: 7.953 kB / 1.045 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/1.032, allocations: 3.984 kB / 1.045 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.051e-05/1.032, allocations: 86.7 kB / 1.045 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 1.045 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002386/1.033, allocations: 23.38 kB / 1.045 GB, free: 6 MB / 0.6667 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.0005519/1.033, allocations: 0.7246 MB / 1.046 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.778e-05/1.033, allocations: 19.25 kB / 1.046 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.033, allocations: 0 / 1.046 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/1.033, allocations: 15.69 kB / 1.046 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/1.034, allocations: 11.52 kB / 1.046 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/1.034, allocations: 120.8 kB / 1.046 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.034, allocations: 0.6885 MB / 1.047 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.35e-05/1.034, allocations: 8.641 kB / 1.047 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/1.034, allocations: 14.81 kB / 1.047 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/1.034, allocations: 0 / 1.047 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/1.054, allocations: 1.528 MB / 1.048 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.055, allocations: 163.7 kB / 1.049 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.477, allocations: 2.812 kB / 1.049 GB, free: 2.633 MB / 0.6667 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)