Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001074/0.001074, allocations: 195.4 kB / 377.1 MB, free: 1.531 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.767/1.767, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009881/0.0009883, allocations: 93.08 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004695, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3518, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9609/1.313, allocations: 165.5 MB / 1.15 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/1.313, allocations: 78.11 kB / 1.15 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00459/1.318, allocations: 1.629 MB / 1.152 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.671e-06/1.318, allocations: 4 kB / 1.152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.318, allocations: 0 / 1.152 GB, free: 12.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003755/1.318, allocations: 320.6 kB / 1.152 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.318, allocations: 16.02 kB / 1.152 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/1.318, allocations: 42.23 kB / 1.152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/1.318, allocations: 5.344 kB / 1.152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.319, allocations: 167.6 kB / 1.152 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/1.319, allocations: 35 kB / 1.152 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/1.319, allocations: 0.5625 kB / 1.152 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/1.319, allocations: 42.25 kB / 1.152 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.319, allocations: 0.5625 kB / 1.152 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.319, allocations: 0 / 1.152 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.319, allocations: 0 / 1.152 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/1.319, allocations: 11.14 kB / 1.152 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/1.319, allocations: 157.8 kB / 1.153 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/1.319, allocations: 36.41 kB / 1.153 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/1.319, allocations: 92.89 kB / 1.153 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.319, allocations: 36.19 kB / 1.153 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.319, allocations: 0 / 1.153 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002331/1.32, allocations: 60.91 kB / 1.153 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/1.32, allocations: 56.06 kB / 1.153 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/1.32, allocations: 90.45 kB / 1.153 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/1.32, allocations: 25.7 kB / 1.153 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/1.32, allocations: 80.14 kB / 1.153 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/1.32, allocations: 13.27 kB / 1.153 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.32, allocations: 0 / 1.153 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/1.32, allocations: 315.6 kB / 1.153 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/1.32, allocations: 6.109 kB / 1.153 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/1.32, allocations: 14.03 kB / 1.153 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/1.32, allocations: 9.969 kB / 1.153 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.32, allocations: 0 / 1.153 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001039/1.32, allocations: 51.05 kB / 1.153 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.32, allocations: 5.5 kB / 1.153 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.32, allocations: 0 / 1.153 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.32, allocations: 0 / 1.153 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/1.32, allocations: 13.81 kB / 1.153 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/1.32, allocations: 0.8594 kB / 1.153 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/1.32, allocations: 8.516 kB / 1.153 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/1.32, allocations: 1.562 kB / 1.153 GB, free: 10.84 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 (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.632e-05/1.32, allocations: 115.1 kB / 1.153 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/1.32, allocations: 5.922 kB / 1.154 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/1.321, allocations: 52.19 kB / 1.154 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/1.321, allocations: 4.609 kB / 1.154 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.321, allocations: 0 / 1.154 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.321, allocations: 0.5156 kB / 1.154 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/1.321, allocations: 161.2 kB / 1.154 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.321, allocations: 1.062 kB / 1.154 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/1.321, allocations: 9.391 kB / 1.154 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.321, allocations: 0 / 1.154 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/1.321, allocations: 0 / 1.154 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/1.321, allocations: 1.172 kB / 1.154 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.321, allocations: 4 kB / 1.154 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/1.321, allocations: 79.61 kB / 1.154 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/1.321, allocations: 90.69 kB / 1.154 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/1.321, allocations: 1.188 kB / 1.154 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/1.321, allocations: 0.5156 kB / 1.154 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/1.321, allocations: 7.469 kB / 1.154 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.321, allocations: 0.7969 kB / 1.154 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.33e-05/1.321, allocations: 75.98 kB / 1.154 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.262e-06/1.321, allocations: 4.656 kB / 1.154 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001843/1.321, allocations: 17.16 kB / 1.154 GB, free: 10.15 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 (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.0004336/1.322, allocations: 0.6531 MB / 1.155 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001336/1.322, allocations: 16.08 kB / 1.155 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.322, allocations: 0 / 1.155 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/1.322, allocations: 22.41 kB / 1.155 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.322, allocations: 6.797 kB / 1.155 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/1.323, allocations: 168.1 kB / 1.155 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/1.323, allocations: 0.6768 MB / 1.155 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.875e-05/1.323, allocations: 8.656 kB / 1.156 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/1.323, allocations: 8.047 kB / 1.156 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.323, allocations: 0.5625 kB / 1.156 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/1.338, allocations: 1.689 MB / 1.157 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/1.338, allocations: 194.3 kB / 1.157 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/3.116, allocations: 0 / 1.157 GB, free: 7.426 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)