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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.001059, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005155, allocations: 14.31 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3111, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002302/0.3135, allocations: 0.9937 MB / 0.7883 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.2317/0.5452, allocations: 119.6 MB / 0.905 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.5453, allocations: 0 / 0.905 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.5453, allocations: 3.984 kB / 0.9051 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.5454, allocations: 11.86 kB / 0.9051 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.546, allocations: 43.8 kB / 0.9051 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.5461, allocations: 19.94 kB / 0.9051 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.5462, allocations: 0 / 0.9051 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.5462, allocations: 11.92 kB / 0.9051 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.5464, allocations: 8 kB / 0.9051 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.5464, allocations: 0 / 0.9051 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.5465, allocations: 23.8 kB / 0.9052 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.5465, allocations: 11.98 kB / 0.9052 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.5466, allocations: 25.7 kB / 0.9052 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.5467, allocations: 20.2 kB / 0.9052 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5467, allocations: 0 / 0.9052 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5467, allocations: 0 / 0.9052 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5468, allocations: 0 / 0.9052 GB, free: 2.82 MB / 0.7169 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.0005195/0.5473, allocations: 327.3 kB / 0.9055 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.5474, allocations: 8.031 kB / 0.9055 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.5474, allocations: 8 kB / 0.9055 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.5476, allocations: 167 kB / 0.9057 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.5477, allocations: 33.69 kB / 0.9057 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.5477, allocations: 0 / 0.9057 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.5479, allocations: 49.61 kB / 0.9058 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5479, allocations: 0 / 0.9058 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.548, allocations: 4 kB / 0.9058 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.548, allocations: 0 / 0.9058 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.5481, allocations: 11.98 kB / 0.9058 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.5484, allocations: 161.6 kB / 0.906 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.5485, allocations: 30.61 kB / 0.906 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.5486, allocations: 12.94 kB / 0.906 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.549, allocations: 89.11 kB / 0.9061 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.549, allocations: 46.48 kB / 0.9061 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.5491, allocations: 0 / 0.9061 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000344/0.5494, allocations: 49.69 kB / 0.9062 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5495, allocations: 51.41 kB / 0.9062 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5496, allocations: 101.8 kB / 0.9063 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.5496, allocations: 25.7 kB / 0.9063 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.5497, allocations: 80.14 kB / 0.9064 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5497, allocations: 11.81 kB / 0.9064 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5497, allocations: 4 kB / 0.9064 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5499, allocations: 314.8 kB / 0.9067 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.55, allocations: 11.98 kB / 0.9067 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.5501, allocations: 7.938 kB / 0.9068 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.5502, allocations: 7.984 kB / 0.9068 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5502, allocations: 7.938 kB / 0.9068 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001886/0.5504, allocations: 45.69 kB / 0.9068 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5504, allocations: 4 kB / 0.9068 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5504, allocations: 4 kB / 0.9068 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5505, allocations: 0 / 0.9068 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.5506, allocations: 8 kB / 0.9068 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.5506, allocations: 3.984 kB / 0.9068 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.5507, allocations: 7.938 kB / 0.9068 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5507, allocations: 4 kB / 0.9068 GB, free: 0.9141 MB / 0.7169 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 0.0001399/0.5508, allocations: 109.8 kB / 0.9069 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.5509, allocations: 0 / 0.9069 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5512, allocations: 69.62 kB / 0.907 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5512, allocations: 0 / 0.907 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5512, allocations: 0 / 0.907 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5512, allocations: 0 / 0.907 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.5514, allocations: 153.7 kB / 0.9072 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5514, allocations: 3.984 kB / 0.9072 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.5515, allocations: 4 kB / 0.9072 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5515, allocations: 0 / 0.9072 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5515, allocations: 8 kB / 0.9072 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.5515, allocations: 0 / 0.9072 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5515, allocations: 4 kB / 0.9072 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.5518, allocations: 80.95 kB / 0.9073 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.5519, allocations: 81.06 kB / 0.9073 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.5519, allocations: 3.984 kB / 0.9073 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.552, allocations: 0 / 0.9073 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.5521, allocations: 4 kB / 0.9073 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.5521, allocations: 4 kB / 0.9073 GB, free: 296 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.5521, allocations: 83.28 kB / 0.9074 GB, free: 212 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5521, allocations: 0 / 0.9074 GB, free: 212 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003604/0.5525, allocations: 11.94 kB / 0.9074 GB, free: 200 kB / 0.7169 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.000248/0.5528, allocations: 111.2 kB / 0.9075 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.553, allocations: 23.97 kB / 0.9076 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.553, allocations: 0 / 0.9076 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.5531, allocations: 11.94 kB / 0.9076 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.5535, allocations: 14.95 kB / 0.9076 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5113/1.065, allocations: 130.2 kB / 0.9077 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/1.065, allocations: 0.6758 MB / 0.9084 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.175e-05/1.065, allocations: 5.781 kB / 0.9084 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/1.065, allocations: 9.844 kB / 0.9084 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of SimCode: time 1.964e-06/1.065, allocations: 1.25 kB / 0.9084 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Templates: time 0.002965/1.068, allocations: 477.2 kB / 0.9088 GB, free: 8.25 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: