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.63/1.63, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.00122/0.00122, allocations: 182.5 kB / 371.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001042/0.001042, allocations: 92.7 kB / 0.745 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.018e-05, allocations: 3.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.31, allocations: 165.5 MB / 1.141 GB, free: 23.13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/1.311, allocations: 73.88 kB / 1.142 GB, free: 23.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004055/1.315, allocations: 1.628 MB / 1.143 GB, free: 22.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.245e-06/1.315, allocations: 0 / 1.143 GB, free: 22.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.315, allocations: 0 / 1.143 GB, free: 22.02 MB / 0.7448 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.000349/1.315, allocations: 318 kB / 1.143 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/1.315, allocations: 8.781 kB / 1.143 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/1.315, allocations: 33.88 kB / 1.143 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/1.315, allocations: 6.969 kB / 1.143 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.315, allocations: 170.5 kB / 1.144 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/1.315, allocations: 33.7 kB / 1.144 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.315, allocations: 0 / 1.144 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.316, allocations: 40.98 kB / 1.144 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.316, allocations: 0.75 kB / 1.144 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.316, allocations: 1.031 kB / 1.144 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/1.316, allocations: 0 / 1.144 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/1.316, allocations: 11.95 kB / 1.144 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/1.316, allocations: 155.9 kB / 1.144 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/1.316, allocations: 30.72 kB / 1.144 GB, free: 21.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/1.316, allocations: 13.17 kB / 1.144 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/1.316, allocations: 88.53 kB / 1.144 GB, free: 20.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.316, allocations: 34.5 kB / 1.144 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.316, allocations: 0 / 1.144 GB, free: 20.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001684/1.316, allocations: 42.59 kB / 1.144 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.316, allocations: 59.41 kB / 1.144 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/1.317, allocations: 91.14 kB / 1.144 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.317, allocations: 36.75 kB / 1.144 GB, free: 20.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/1.317, allocations: 80.14 kB / 1.144 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/1.317, allocations: 4.688 kB / 1.144 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.317, allocations: 0 / 1.144 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.317, allocations: 314.8 kB / 1.145 GB, free: 20.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/1.317, allocations: 7.062 kB / 1.145 GB, free: 20.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/1.317, allocations: 4 kB / 1.145 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/1.317, allocations: 11.47 kB / 1.145 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.317, allocations: 3.938 kB / 1.145 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.241e-05/1.317, allocations: 38.11 kB / 1.145 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.317, allocations: 11.42 kB / 1.145 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.317, allocations: 0 / 1.145 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.317, allocations: 0 / 1.145 GB, free: 20.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/1.317, allocations: 4 kB / 1.145 GB, free: 20.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.317, allocations: 0 / 1.145 GB, free: 20.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/1.317, allocations: 4 kB / 1.145 GB, free: 20.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.317, allocations: 0.5625 kB / 1.145 GB, free: 20.24 MB / 0.7448 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 6.969e-05/1.317, allocations: 114.6 kB / 1.145 GB, free: 20.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/1.317, allocations: 12.03 kB / 1.145 GB, free: 20.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/1.317, allocations: 48.05 kB / 1.145 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/1.317, allocations: 0 / 1.145 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.317, allocations: 0 / 1.145 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.317, allocations: 5.406 kB / 1.145 GB, free: 20.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/1.318, allocations: 157 kB / 1.145 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.318, allocations: 0 / 1.145 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/1.318, allocations: 12.59 kB / 1.145 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.318, allocations: 4 kB / 1.145 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/1.318, allocations: 0 / 1.145 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.318, allocations: 0 / 1.145 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.318, allocations: 3.75 kB / 1.145 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/1.318, allocations: 71.92 kB / 1.145 GB, free: 19.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/1.318, allocations: 81.11 kB / 1.145 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.318, allocations: 3.516 kB / 1.145 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/1.318, allocations: 7.062 kB / 1.145 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/1.318, allocations: 4 kB / 1.145 GB, free: 19.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.318, allocations: 0.8125 kB / 1.145 GB, free: 19.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.167e-05/1.318, allocations: 80.64 kB / 1.145 GB, free: 19.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.318, allocations: 1.594 kB / 1.145 GB, free: 19.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000196/1.318, allocations: 22.78 kB / 1.145 GB, free: 19.58 MB / 0.7448 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.0004829/1.319, allocations: 0.6441 MB / 1.146 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/1.319, allocations: 15.75 kB / 1.146 GB, free: 18.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.319, allocations: 4 kB / 1.146 GB, free: 18.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.091e-05/1.319, allocations: 8.594 kB / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/1.319, allocations: 6.625 kB / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/1.319, allocations: 87.06 kB / 1.146 GB, free: 18.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.32, allocations: 0.6765 MB / 1.147 GB, free: 18.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.023e-05/1.32, allocations: 14.88 kB / 1.147 GB, free: 18.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/1.32, allocations: 8.641 kB / 1.147 GB, free: 18.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.32, allocations: 0 / 1.147 GB, free: 18.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/1.338, allocations: 1.789 MB / 1.148 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.338, allocations: 171.3 kB / 1.149 GB, free: 16.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/2.727, allocations: 8.062 kB / 1.149 GB, free: 16.89 MB / 0.7448 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)