Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009367, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009188/0.0009189, allocations: 195.2 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 251.6 MB / 0.5088 GB, free: 3.383 MB / 414.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.001248/0.001247, allocations: 68.45 kB / 0.6215 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 104.7 MB / 0.7238 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002337/0.3692, allocations: 1.558 MB / 0.7253 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1152/0.4844, allocations: 129.9 MB / 0.8522 GB, free: 9.426 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.4845, allocations: 4 kB / 0.8522 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.4846, allocations: 0 / 0.8522 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.4847, allocations: 15.84 kB / 0.8522 GB, free: 9.406 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.4852, allocations: 53.91 kB / 0.8523 GB, free: 9.355 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.4852, allocations: 47.86 kB / 0.8523 GB, free: 9.309 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.4853, allocations: 23.92 kB / 0.8523 GB, free: 9.285 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.4854, allocations: 15.98 kB / 0.8524 GB, free: 9.27 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.4855, allocations: 23.86 kB / 0.8524 GB, free: 9.246 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.4855, allocations: 4 kB / 0.8524 GB, free: 9.242 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.4856, allocations: 15.98 kB / 0.8524 GB, free: 9.227 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.4856, allocations: 11.97 kB / 0.8524 GB, free: 9.215 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.4856, allocations: 19.88 kB / 0.8524 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.4858, allocations: 55.75 kB / 0.8525 GB, free: 9.141 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4858, allocations: 4 kB / 0.8525 GB, free: 9.137 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4858, allocations: 0 / 0.8525 GB, free: 9.137 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4858, allocations: 0 / 0.8525 GB, free: 9.137 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005077/0.4863, allocations: 375.3 kB / 0.8528 GB, free: 8.719 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4864, allocations: 12.03 kB / 0.8529 GB, free: 8.707 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.4864, allocations: 4.844 kB / 0.8529 GB, free: 8.703 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.4866, allocations: 176.2 kB / 0.853 GB, free: 8.492 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4866, allocations: 4.375 kB / 0.853 GB, free: 8.488 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.4866, allocations: 8.375 kB / 0.853 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.4868, allocations: 74.2 kB / 0.8531 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4869, allocations: 192 / 0.8531 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4869, allocations: 3.938 kB / 0.8531 GB, free: 8.398 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4869, allocations: 3.938 kB / 0.8531 GB, free: 8.395 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.4872, allocations: 75.86 kB / 0.8532 GB, free: 8.32 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.4875, allocations: 276.8 kB / 0.8535 GB, free: 8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.4877, allocations: 54.55 kB / 0.8535 GB, free: 7.938 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4879, allocations: 44.91 kB / 0.8535 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.4881, allocations: 93.08 kB / 0.8536 GB, free: 7.781 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.4881, allocations: 38.5 kB / 0.8537 GB, free: 7.734 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4881, allocations: 0 / 0.8537 GB, free: 7.734 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.000483/0.4886, allocations: 129.5 kB / 0.8538 GB, free: 7.602 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.4887, allocations: 55.41 kB / 0.8539 GB, free: 7.535 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.4888, allocations: 121.7 kB / 0.854 GB, free: 7.406 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4888, allocations: 25.7 kB / 0.854 GB, free: 7.375 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.4888, allocations: 88.14 kB / 0.8541 GB, free: 7.285 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.4889, allocations: 11.81 kB / 0.8541 GB, free: 7.273 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.4889, allocations: 17.7 kB / 0.8541 GB, free: 7.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.489, allocations: 322.8 kB / 0.8544 GB, free: 6.926 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4892, allocations: 31.97 kB / 0.8544 GB, free: 6.895 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4893, allocations: 31.95 kB / 0.8545 GB, free: 6.863 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.4895, allocations: 76.72 kB / 0.8545 GB, free: 6.785 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4895, allocations: 3.938 kB / 0.8545 GB, free: 6.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002727/0.4898, allocations: 93.62 kB / 0.8546 GB, free: 6.684 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.4898, allocations: 4 kB / 0.8546 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4899, allocations: 0 / 0.8546 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4899, allocations: 4 kB / 0.8546 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.49, allocations: 15.98 kB / 0.8547 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.49, allocations: 3.984 kB / 0.8547 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.4901, allocations: 19.91 kB / 0.8547 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4901, allocations: 0 / 0.8547 GB, free: 6.637 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.463e-05/0.4902, allocations: 121.7 kB / 0.8548 GB, free: 6.508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.4902, allocations: 7.906 kB / 0.8548 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4905, allocations: 105.5 kB / 0.8549 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4905, allocations: 4 kB / 0.8549 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4905, allocations: 0 / 0.8549 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4906, allocations: 0 / 0.8549 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4907, allocations: 173.6 kB / 0.8551 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4907, allocations: 0 / 0.8551 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.4908, allocations: 15.98 kB / 0.8551 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4908, allocations: 0 / 0.8551 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4908, allocations: 4 kB / 0.8551 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4908, allocations: 0 / 0.8551 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4908, allocations: 3.984 kB / 0.8551 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.4912, allocations: 199.3 kB / 0.8553 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.4912, allocations: 85.05 kB / 0.8554 GB, free: 5.828 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.4913, allocations: 4 kB / 0.8554 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.4914, allocations: 12.41 kB / 0.8554 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.4914, allocations: 7.984 kB / 0.8554 GB, free: 5.805 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4914, allocations: 0 / 0.8554 GB, free: 5.805 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.4915, allocations: 91.27 kB / 0.8555 GB, free: 5.715 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4915, allocations: 0 / 0.8555 GB, free: 5.715 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002183/0.4917, allocations: 16 kB / 0.8555 GB, free: 5.699 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.4919, allocations: 115.3 kB / 0.8556 GB, free: 5.578 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.4922, allocations: 75.78 kB / 0.8557 GB, free: 5.504 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4922, allocations: 4 kB / 0.8557 GB, free: 5.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4923, allocations: 35.95 kB / 0.8557 GB, free: 5.465 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4927, allocations: 15.94 kB / 0.8557 GB, free: 5.449 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.4931, allocations: 168.6 kB / 0.8559 GB, free: 5.258 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4934, allocations: 0.6809 MB / 0.8566 GB, free: 4.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.4934, allocations: 8 kB / 0.8566 GB, free: 4.543 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.4935, allocations: 11.42 kB / 0.8566 GB, free: 4.531 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.4935, allocations: 0 / 0.8566 GB, free: 4.531 MB / 0.67 GB Notification: Performance of Templates: time 0.002813/0.4963, allocations: 0.8492 MB / 0.8574 GB, free: 3.691 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)