Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_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.763/1.763, allocations: 288.2 MB / 303.2 MB, free: 8.285 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.001428/0.001427, allocations: 169.1 kB / 371.8 MB, free: 10.3 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.95/1.95, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00089/0.0008901, allocations: 109 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005098, allocations: 12.44 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9025/1.18, allocations: 164.6 MB / 1.14 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.18, allocations: 76.64 kB / 1.14 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004165/1.184, allocations: 1.63 MB / 1.142 GB, free: 30.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.937e-06/1.184, allocations: 0 / 1.142 GB, free: 30.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.001e-05/1.184, allocations: 0 / 1.142 GB, free: 30.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004376/1.185, allocations: 330.9 kB / 1.142 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/1.185, allocations: 12.02 kB / 1.142 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/1.185, allocations: 30.56 kB / 1.142 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/1.185, allocations: 12.64 kB / 1.142 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/1.185, allocations: 167 kB / 1.142 GB, free: 29.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/1.185, allocations: 25.7 kB / 1.142 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/1.185, allocations: 4 kB / 1.142 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.185, allocations: 41.31 kB / 1.142 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.185, allocations: 7.984 kB / 1.142 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/1.185, allocations: 3.938 kB / 1.142 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.185, allocations: 4 kB / 1.142 GB, free: 29.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/1.186, allocations: 15.38 kB / 1.142 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/1.186, allocations: 153.4 kB / 1.143 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/1.186, allocations: 29.77 kB / 1.143 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/1.186, allocations: 93.19 kB / 1.143 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.186, allocations: 30.56 kB / 1.143 GB, free: 29.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/1.186, allocations: 3.938 kB / 1.143 GB, free: 29.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002241/1.186, allocations: 56.48 kB / 1.143 GB, free: 29.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.186, allocations: 55.41 kB / 1.143 GB, free: 28.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/1.186, allocations: 85 kB / 1.143 GB, free: 28.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.186, allocations: 29.69 kB / 1.143 GB, free: 28.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/1.187, allocations: 90.66 kB / 1.143 GB, free: 28.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/1.187, allocations: 7.344 kB / 1.143 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/1.187, allocations: 0 / 1.143 GB, free: 28.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.187, allocations: 314.8 kB / 1.143 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/1.187, allocations: 7.375 kB / 1.143 GB, free: 28.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/1.187, allocations: 7.984 kB / 1.143 GB, free: 28.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/1.187, allocations: 8 kB / 1.143 GB, free: 28.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.187, allocations: 0 / 1.143 GB, free: 28.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/1.187, allocations: 60.17 kB / 1.143 GB, free: 28.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.187, allocations: 4 kB / 1.143 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.187, allocations: 4 kB / 1.143 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.187, allocations: 4 kB / 1.143 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/1.187, allocations: 4 kB / 1.143 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.187, allocations: 0 / 1.143 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/1.187, allocations: 3.906 kB / 1.143 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/1.187, allocations: 4 kB / 1.143 GB, free: 28.35 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 8.192e-05/1.187, allocations: 117.8 kB / 1.144 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/1.187, allocations: 0 / 1.144 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/1.187, allocations: 63.97 kB / 1.144 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/1.187, allocations: 0 / 1.144 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.187, allocations: 0 / 1.144 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.187, allocations: 0.5625 kB / 1.144 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/1.188, allocations: 160.7 kB / 1.144 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.188, allocations: 1.969 kB / 1.144 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/1.188, allocations: 4 kB / 1.144 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.188, allocations: 8 kB / 1.144 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.188, allocations: 3.25 kB / 1.144 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/1.188, allocations: 0 / 1.144 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.188, allocations: 0 / 1.144 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/1.188, allocations: 86.8 kB / 1.144 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/1.188, allocations: 88.89 kB / 1.144 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/1.188, allocations: 0 / 1.144 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.821e-05/1.188, allocations: 4 kB / 1.144 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/1.188, allocations: 7.984 kB / 1.144 GB, free: 27.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/1.188, allocations: 0 / 1.144 GB, free: 27.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.948e-05/1.188, allocations: 82.28 kB / 1.144 GB, free: 27.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.188, allocations: 0 / 1.144 GB, free: 27.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001879/1.188, allocations: 8 kB / 1.144 GB, free: 27.65 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.0005075/1.189, allocations: 0.6556 MB / 1.145 GB, free: 26.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001385/1.189, allocations: 23.11 kB / 1.145 GB, free: 26.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.189, allocations: 3.938 kB / 1.145 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/1.189, allocations: 8 kB / 1.145 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/1.189, allocations: 15.22 kB / 1.145 GB, free: 26.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/1.189, allocations: 169.8 kB / 1.145 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/1.19, allocations: 0.677 MB / 1.146 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.873e-05/1.19, allocations: 4 kB / 1.146 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/1.19, allocations: 8.438 kB / 1.146 GB, free: 26.01 MB / 0.698 GB Notification: Performance of SimCode: time 5.781e-06/1.19, allocations: 4 kB / 1.146 GB, free: 26.01 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/1.202, allocations: 1.705 MB / 1.147 GB, free: 24.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.202, allocations: 208 kB / 1.147 GB, free: 24.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.795, allocations: 0 / 1.147 GB, free: 24.23 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)