Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.867 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.001224/0.001223, allocations: 172.9 kB / 316.3 MB, free: 3.246 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.638/1.638, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008715/0.0008716, allocations: 90.38 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.006e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7942/0.9975, allocations: 158.5 MB / 1.04 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.9978, allocations: 76.14 kB / 1.04 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.003594/1.001, allocations: 1.598 MB / 1.042 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.232e-06/1.001, allocations: 0 / 1.042 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.022e-06/1.001, allocations: 4 kB / 1.042 GB, free: 9.418 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003001/1.002, allocations: 330 kB / 1.042 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.002, allocations: 8.031 kB / 1.042 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/1.002, allocations: 7.953 kB / 1.042 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.002, allocations: 167 kB / 1.042 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/1.002, allocations: 29.7 kB / 1.042 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/1.002, allocations: 0 / 1.042 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.75e-05/1.002, allocations: 7.438 kB / 1.042 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.008e-05/1.002, allocations: 37.81 kB / 1.042 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.002, allocations: 0 / 1.042 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.002, allocations: 4 kB / 1.042 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.002, allocations: 3.953 kB / 1.042 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/1.002, allocations: 129.3 kB / 1.042 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/1.003, allocations: 32.92 kB / 1.042 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/1.003, allocations: 8.859 kB / 1.042 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/1.003, allocations: 89.19 kB / 1.043 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.003, allocations: 34.56 kB / 1.043 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/1.003, allocations: 0 / 1.043 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0001958/1.003, allocations: 55.44 kB / 1.043 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/1.003, allocations: 51.41 kB / 1.043 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/1.003, allocations: 96.17 kB / 1.043 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/1.003, allocations: 25.7 kB / 1.043 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/1.003, allocations: 80.14 kB / 1.043 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/1.003, allocations: 3.906 kB / 1.043 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.003, allocations: 4 kB / 1.043 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.003, allocations: 326.9 kB / 1.043 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/1.003, allocations: 0 / 1.043 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/1.003, allocations: 4 kB / 1.043 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/1.003, allocations: 6.75 kB / 1.043 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.003, allocations: 0 / 1.043 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.456e-05/1.003, allocations: 44.56 kB / 1.043 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.004, allocations: 4 kB / 1.043 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.004, allocations: 0 / 1.043 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.004, allocations: 0 / 1.043 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/1.004, allocations: 19.92 kB / 1.043 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.004, allocations: 0 / 1.043 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/1.004, allocations: 3.938 kB / 1.043 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/1.004, allocations: 0 / 1.043 GB, free: 7.648 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 7.718e-05/1.004, allocations: 108.9 kB / 1.043 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.513e-05/1.004, allocations: 44.75 kB / 1.043 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/1.004, allocations: 3.906 kB / 1.043 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/1.004, allocations: 57.3 kB / 1.043 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.004, allocations: 0 / 1.043 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.004, allocations: 7.938 kB / 1.043 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.004, allocations: 0 / 1.043 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.81e-05/1.004, allocations: 137.7 kB / 1.044 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.004, allocations: 0 / 1.044 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/1.004, allocations: 4 kB / 1.044 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.004, allocations: 0 / 1.044 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/1.004, allocations: 4 kB / 1.044 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.004, allocations: 0 / 1.044 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.004, allocations: 0 / 1.044 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/1.004, allocations: 78.06 kB / 1.044 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/1.004, allocations: 80.42 kB / 1.044 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.004, allocations: 4 kB / 1.044 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/1.004, allocations: 0 / 1.044 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/1.005, allocations: 3.984 kB / 1.044 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/1.005, allocations: 4 kB / 1.044 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.196e-05/1.005, allocations: 79.69 kB / 1.044 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 0 / 1.044 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001926/1.005, allocations: 15.88 kB / 1.044 GB, free: 6.949 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.000483/1.005, allocations: 0.6534 MB / 1.045 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/1.005, allocations: 15.55 kB / 1.045 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/1.005, allocations: 0 / 1.045 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/1.005, allocations: 11.06 kB / 1.045 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/1.006, allocations: 8 kB / 1.045 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/1.006, allocations: 89.59 kB / 1.045 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.006, allocations: 0.6768 MB / 1.045 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.021e-05/1.006, allocations: 4.625 kB / 1.045 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/1.006, allocations: 11.44 kB / 1.045 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/1.006, allocations: 3.938 kB / 1.045 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/1.027, allocations: 1.11 MB / 1.046 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/1.028, allocations: 161.2 kB / 1.047 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.491, allocations: 0 / 1.047 GB, free: 4.117 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)