Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.716/1.716, allocations: 287.4 MB / 302.6 MB, free: 8.297 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.0009108/0.0009109, allocations: 182.2 kB / 371.1 MB, free: 10.8 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.777/1.777, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0009385/0.0009384, allocations: 96.61 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004187, allocations: 12 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001581/0.2825, allocations: 1.002 MB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8202/1.103, allocations: 119.6 MB / 1.096 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/1.103, allocations: 0 / 1.096 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/1.103, allocations: 0 / 1.096 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/1.103, allocations: 7.5 kB / 1.097 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/1.103, allocations: 49.98 kB / 1.097 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/1.103, allocations: 21.14 kB / 1.097 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/1.104, allocations: 1.062 kB / 1.097 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/1.104, allocations: 13.22 kB / 1.097 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/1.104, allocations: 9.328 kB / 1.097 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/1.104, allocations: 1.062 kB / 1.097 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/1.104, allocations: 9.125 kB / 1.097 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/1.104, allocations: 9.375 kB / 1.097 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/1.104, allocations: 28.97 kB / 1.097 GB, free: 18.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.918e-05/1.104, allocations: 17.84 kB / 1.097 GB, free: 18.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.104, allocations: 1 kB / 1.097 GB, free: 18.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.077e-06/1.104, allocations: 4 kB / 1.097 GB, free: 18.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.104, allocations: 1.969 kB / 1.097 GB, free: 18.26 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.0004511/1.104, allocations: 330.1 kB / 1.097 GB, free: 17.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/1.105, allocations: 9.375 kB / 1.097 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/1.105, allocations: 32.17 kB / 1.097 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/1.105, allocations: 6.969 kB / 1.097 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.105, allocations: 162.3 kB / 1.097 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/1.105, allocations: 30.34 kB / 1.097 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.105, allocations: 10.12 kB / 1.097 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.105, allocations: 43.36 kB / 1.097 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.105, allocations: 0 / 1.097 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.105, allocations: 1.656 kB / 1.097 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.105, allocations: 0 / 1.097 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.285e-05/1.105, allocations: 14.84 kB / 1.097 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/1.105, allocations: 152.3 kB / 1.097 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/1.106, allocations: 34.55 kB / 1.097 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/1.106, allocations: 11.77 kB / 1.097 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/1.106, allocations: 89.62 kB / 1.098 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/1.106, allocations: 45.78 kB / 1.098 GB, free: 17.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.106, allocations: 0 / 1.098 GB, free: 17.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002796/1.106, allocations: 57.52 kB / 1.098 GB, free: 17.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.106, allocations: 52.67 kB / 1.098 GB, free: 17.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/1.106, allocations: 102.5 kB / 1.098 GB, free: 17.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.106, allocations: 30.55 kB / 1.098 GB, free: 17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/1.107, allocations: 83.83 kB / 1.098 GB, free: 16.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/1.107, allocations: 9.891 kB / 1.098 GB, free: 16.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/1.107, allocations: 0 / 1.098 GB, free: 16.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.107, allocations: 312.9 kB / 1.098 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/1.107, allocations: 13.84 kB / 1.098 GB, free: 16.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/1.107, allocations: 10.42 kB / 1.098 GB, free: 16.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/1.107, allocations: 21.61 kB / 1.098 GB, free: 16.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.107, allocations: 0 / 1.098 GB, free: 16.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001348/1.107, allocations: 48.78 kB / 1.098 GB, free: 16.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.107, allocations: 9.922 kB / 1.098 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.107, allocations: 0 / 1.098 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.107, allocations: 0.7188 kB / 1.098 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/1.107, allocations: 8.828 kB / 1.098 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.107, allocations: 4 kB / 1.098 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/1.107, allocations: 6.516 kB / 1.098 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/1.107, allocations: 0.9688 kB / 1.098 GB, free: 16.54 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 9.411e-05/1.107, allocations: 120.3 kB / 1.098 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/1.107, allocations: 5 kB / 1.098 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/1.108, allocations: 54.52 kB / 1.099 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.108, allocations: 0.875 kB / 1.099 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.108, allocations: 4 kB / 1.099 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.108, allocations: 1.297 kB / 1.099 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/1.108, allocations: 152.9 kB / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.108, allocations: 0 / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/1.108, allocations: 8.672 kB / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.108, allocations: 4.812 kB / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/1.108, allocations: 0 / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.108, allocations: 1.484 kB / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.108, allocations: 0 / 1.099 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/1.108, allocations: 83.88 kB / 1.099 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/1.108, allocations: 88.05 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/1.108, allocations: 1.641 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/1.108, allocations: 2.141 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/1.108, allocations: 3.5 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/1.108, allocations: 1.094 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.629e-05/1.108, allocations: 87.06 kB / 1.099 GB, free: 15.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 0 / 1.099 GB, free: 15.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002052/1.108, allocations: 12.72 kB / 1.099 GB, free: 15.93 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.0005768/1.109, allocations: 0.6238 MB / 1.1 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000165/1.109, allocations: 25.19 kB / 1.1 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.109, allocations: 0 / 1.1 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/1.109, allocations: 13.44 kB / 1.1 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/1.11, allocations: 6 kB / 1.1 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/1.11, allocations: 176.8 kB / 1.1 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/1.11, allocations: 0.6758 MB / 1.1 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.877e-05/1.11, allocations: 8.156 kB / 1.1 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/1.11, allocations: 9.219 kB / 1.1 GB, free: 14.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.11, allocations: 0 / 1.1 GB, free: 14.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/1.124, allocations: 1.135 MB / 1.102 GB, free: 14.33 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.124, allocations: 209.2 kB / 1.102 GB, free: 14.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.702, allocations: 0 / 1.102 GB, free: 14.09 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)