Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.171/1.171, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.373/1.373, allocations: 251.7 MB / 0.5092 GB, free: 3.125 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.001372/0.001372, allocations: 67.91 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3816, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001964/0.3836, allocations: 1.265 MB / 0.7258 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1199/0.5035, allocations: 132 MB / 0.8547 GB, free: 7.086 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.5036, allocations: 0 / 0.8547 GB, free: 7.086 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.5036, allocations: 3.938 kB / 0.8547 GB, free: 7.082 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.5037, allocations: 3.938 kB / 0.8547 GB, free: 7.078 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.504, allocations: 55.73 kB / 0.8548 GB, free: 7.023 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.5041, allocations: 27.86 kB / 0.8548 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.5041, allocations: 0 / 0.8548 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.5042, allocations: 15.92 kB / 0.8548 GB, free: 6.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.5042, allocations: 11.92 kB / 0.8548 GB, free: 6.969 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.5042, allocations: 0 / 0.8548 GB, free: 6.969 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.734e-05/0.5043, allocations: 15.98 kB / 0.8548 GB, free: 6.953 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.5043, allocations: 0 / 0.8548 GB, free: 6.953 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.5044, allocations: 11.94 kB / 0.8548 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 8.545e-05/0.5045, allocations: 17.95 kB / 0.8549 GB, free: 6.926 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5045, allocations: 0 / 0.8549 GB, free: 6.926 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5045, allocations: 4 kB / 0.8549 GB, free: 6.922 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5045, allocations: 0 / 0.8549 GB, free: 6.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003385/0.5048, allocations: 331.5 kB / 0.8552 GB, free: 6.547 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5049, allocations: 12.03 kB / 0.8552 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.5049, allocations: 0.9375 kB / 0.8552 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.505, allocations: 168.3 kB / 0.8553 GB, free: 6.332 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.5051, allocations: 34.27 kB / 0.8554 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.5051, allocations: 384 / 0.8554 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5052, allocations: 50.12 kB / 0.8554 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5052, allocations: 3.938 kB / 0.8554 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.5052, allocations: 0 / 0.8554 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5053, allocations: 0 / 0.8554 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.5053, allocations: 19.92 kB / 0.8554 GB, free: 6.215 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.5055, allocations: 157.7 kB / 0.8556 GB, free: 6.012 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.5056, allocations: 30.56 kB / 0.8556 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.5056, allocations: 20.86 kB / 0.8556 GB, free: 5.949 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.5058, allocations: 89.19 kB / 0.8557 GB, free: 5.844 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.5058, allocations: 38.5 kB / 0.8558 GB, free: 5.797 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5058, allocations: 0 / 0.8558 GB, free: 5.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/0.506, allocations: 57.61 kB / 0.8558 GB, free: 5.734 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.5061, allocations: 55.41 kB / 0.8559 GB, free: 5.668 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.5061, allocations: 98.03 kB / 0.856 GB, free: 5.562 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.5061, allocations: 29.7 kB / 0.856 GB, free: 5.527 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.5062, allocations: 84.14 kB / 0.8561 GB, free: 5.441 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.5062, allocations: 11.83 kB / 0.8561 GB, free: 5.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.5062, allocations: 13.72 kB / 0.8561 GB, free: 5.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.5063, allocations: 314.8 kB / 0.8564 GB, free: 5.094 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.5063, allocations: 8 kB / 0.8564 GB, free: 5.086 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.5064, allocations: 15.92 kB / 0.8564 GB, free: 5.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.5065, allocations: 24.84 kB / 0.8565 GB, free: 5.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5065, allocations: 0 / 0.8565 GB, free: 5.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.5066, allocations: 49.59 kB / 0.8565 GB, free: 4.988 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5066, allocations: 11.94 kB / 0.8565 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5066, allocations: 0 / 0.8565 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5066, allocations: 0 / 0.8565 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.5067, allocations: 7.984 kB / 0.8565 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5067, allocations: 0 / 0.8565 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.5068, allocations: 8 kB / 0.8565 GB, free: 4.961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5068, allocations: 0 / 0.8565 GB, free: 4.961 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 5.348e-05/0.5068, allocations: 113.8 kB / 0.8566 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.5068, allocations: 7.938 kB / 0.8566 GB, free: 4.832 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.507, allocations: 53.17 kB / 0.8567 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.507, allocations: 0 / 0.8567 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.507, allocations: 0 / 0.8567 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.507, allocations: 0 / 0.8567 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.207e-05/0.5071, allocations: 157.7 kB / 0.8568 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5071, allocations: 0 / 0.8568 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.5071, allocations: 8 kB / 0.8568 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5072, allocations: 7.875 kB / 0.8569 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.5072, allocations: 0 / 0.8569 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5072, allocations: 3.938 kB / 0.8569 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5072, allocations: 3.984 kB / 0.8569 GB, free: 4.543 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.5073, allocations: 77.06 kB / 0.8569 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.5074, allocations: 85.02 kB / 0.857 GB, free: 4.348 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.5074, allocations: 11.92 kB / 0.857 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.5074, allocations: 0 / 0.857 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.5074, allocations: 0 / 0.857 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5075, allocations: 4 kB / 0.857 GB, free: 4.332 MB / 0.67 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.5075, allocations: 79.7 kB / 0.8571 GB, free: 4.254 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5075, allocations: 0 / 0.8571 GB, free: 4.254 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001748/0.5077, allocations: 15.98 kB / 0.8571 GB, free: 4.238 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.0001349/0.5078, allocations: 111.2 kB / 0.8572 GB, free: 4.117 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.5079, allocations: 31.91 kB / 0.8573 GB, free: 4.086 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.508, allocations: 0 / 0.8573 GB, free: 4.086 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.508, allocations: 4.234 kB / 0.8573 GB, free: 4.082 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.5082, allocations: 18.8 kB / 0.8573 GB, free: 4.066 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.5085, allocations: 127.8 kB / 0.8574 GB, free: 3.918 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.5087, allocations: 0.6767 MB / 0.8581 GB, free: 3.215 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.5087, allocations: 7.969 kB / 0.8581 GB, free: 3.207 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.5087, allocations: 11.44 kB / 0.8581 GB, free: 3.195 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.5087, allocations: 4 kB / 0.8581 GB, free: 3.191 MB / 0.67 GB Notification: Performance of Templates: time 0.002298/0.511, allocations: 0.5074 MB / 0.8586 GB, free: 2.691 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)