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.571/1.571, allocations: 288.4 MB / 303.6 MB, free: 7.957 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.001045/0.001045, allocations: 179.9 kB / 372.3 MB, free: 10.13 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.594/1.594, allocations: 205.4 MB / 0.631 GB, free: 9.832 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.0008272/0.0008273, allocations: 94.84 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005082, allocations: 12.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001199/0.2163, allocations: 0.994 MB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6523/0.8686, allocations: 119.6 MB / 1.098 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.8687, allocations: 4 kB / 1.098 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.8688, allocations: 3.938 kB / 1.098 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.8688, allocations: 3.25 kB / 1.098 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.8692, allocations: 46.97 kB / 1.098 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.8693, allocations: 26.11 kB / 1.098 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.8693, allocations: 1.406 kB / 1.098 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.8694, allocations: 7.828 kB / 1.098 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.8695, allocations: 14.11 kB / 1.098 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.8695, allocations: 0.7188 kB / 1.098 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.8696, allocations: 16.56 kB / 1.098 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.8696, allocations: 1.406 kB / 1.098 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.8697, allocations: 36.09 kB / 1.098 GB, free: 19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.959e-05/0.8698, allocations: 20.78 kB / 1.098 GB, free: 19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8698, allocations: 0.75 kB / 1.098 GB, free: 19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8698, allocations: 0 / 1.098 GB, free: 19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.8698, allocations: 0.9062 kB / 1.098 GB, free: 19 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.0004206/0.8703, allocations: 329.1 kB / 1.098 GB, free: 18.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8703, allocations: 9.312 kB / 1.098 GB, free: 18.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.8704, allocations: 41.48 kB / 1.098 GB, free: 18.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.8704, allocations: 6.469 kB / 1.098 GB, free: 18.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.8705, allocations: 163.3 kB / 1.099 GB, free: 18.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.8706, allocations: 31.33 kB / 1.099 GB, free: 18.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.8706, allocations: 1.844 kB / 1.099 GB, free: 18.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.8708, allocations: 45.5 kB / 1.099 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8708, allocations: 0 / 1.099 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8708, allocations: 0.6562 kB / 1.099 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8708, allocations: 0 / 1.099 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.8709, allocations: 19.22 kB / 1.099 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.871, allocations: 149.1 kB / 1.099 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.519e-05/0.8711, allocations: 34.09 kB / 1.099 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.8712, allocations: 14.86 kB / 1.099 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.8714, allocations: 93.84 kB / 1.099 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8714, allocations: 41.12 kB / 1.099 GB, free: 17.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.8715, allocations: 0 / 1.099 GB, free: 17.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002453/0.8717, allocations: 55.45 kB / 1.099 GB, free: 17.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.8717, allocations: 53.66 kB / 1.099 GB, free: 17.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.8718, allocations: 101.6 kB / 1.099 GB, free: 17.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.8718, allocations: 27.55 kB / 1.099 GB, free: 17.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.8719, allocations: 81.02 kB / 1.099 GB, free: 17.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.8719, allocations: 9.969 kB / 1.099 GB, free: 17.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.8719, allocations: 4 kB / 1.099 GB, free: 17.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.872, allocations: 316.1 kB / 1.1 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.8721, allocations: 4.5 kB / 1.1 GB, free: 17.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.8721, allocations: 12.78 kB / 1.1 GB, free: 17.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/0.8722, allocations: 22.69 kB / 1.1 GB, free: 17.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8722, allocations: 0 / 1.1 GB, free: 17.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001431/0.8724, allocations: 48.94 kB / 1.1 GB, free: 17.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.8724, allocations: 12.59 kB / 1.1 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8724, allocations: 0.9375 kB / 1.1 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8725, allocations: 0 / 1.1 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.8725, allocations: 8.141 kB / 1.1 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8726, allocations: 3.484 kB / 1.1 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.8726, allocations: 4.625 kB / 1.1 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.8726, allocations: 2.25 kB / 1.1 GB, free: 17.27 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 7.289e-05/0.8727, allocations: 116.5 kB / 1.1 GB, free: 17.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.8727, allocations: 11.42 kB / 1.1 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.8729, allocations: 63.64 kB / 1.1 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8729, allocations: 0 / 1.1 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8729, allocations: 0.6562 kB / 1.1 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8729, allocations: 0.75 kB / 1.1 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.873, allocations: 147.5 kB / 1.1 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.873, allocations: 0.6562 kB / 1.1 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.8731, allocations: 7.5 kB / 1.1 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8731, allocations: 5.094 kB / 1.1 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.8731, allocations: 3.75 kB / 1.1 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8731, allocations: 5.125 kB / 1.1 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8731, allocations: 2.484 kB / 1.1 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.8733, allocations: 75.16 kB / 1.1 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.8733, allocations: 88.03 kB / 1.1 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.8734, allocations: 3.406 kB / 1.1 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.8734, allocations: 5 kB / 1.1 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8734, allocations: 7.844 kB / 1.1 GB, free: 16.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.8734, allocations: 5.406 kB / 1.1 GB, free: 16.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.8735, allocations: 77.83 kB / 1.1 GB, free: 16.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8735, allocations: 0 / 1.1 GB, free: 16.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002162/0.8737, allocations: 11.7 kB / 1.1 GB, free: 16.66 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.0004488/0.8742, allocations: 0.632 MB / 1.101 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.8743, allocations: 21.14 kB / 1.101 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8743, allocations: 1.25 kB / 1.101 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.8744, allocations: 8.969 kB / 1.101 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.8746, allocations: 6.781 kB / 1.101 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.875, allocations: 175 kB / 1.101 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.8754, allocations: 0.6759 MB / 1.102 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.8754, allocations: 1.438 kB / 1.102 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.8755, allocations: 10.34 kB / 1.102 GB, free: 15.19 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.8755, allocations: 0 / 1.102 GB, free: 15.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.8874, allocations: 1.151 MB / 1.103 GB, free: 15.06 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.8876, allocations: 214.5 kB / 1.103 GB, free: 14.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.434, allocations: 0 / 1.103 GB, free: 14.82 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)