Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001484/0.001484, allocations: 191.2 kB / 16.25 MB, free: 6.641 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.675/1.675, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6179/0.6179, allocations: 95.47 MB / 364.9 MB, free: 10.05 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.89 kB / 444.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4214, allocations: 69.06 MB / 0.5019 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.6199/1.041, allocations: 152 MB / 0.6503 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/1.056, allocations: 7.33 MB / 0.6574 GB, free: 1.039 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter homotopyInitialization has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/1.059, allocations: 70.31 kB / 0.6575 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006088/1.066, allocations: 1.405 MB / 0.6589 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/1.07, allocations: 0.9983 MB / 0.6599 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/1.072, allocations: 476.2 kB / 0.6603 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003489/1.075, allocations: 2.215 MB / 0.6625 GB, free: 464 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/1.076, allocations: 0.8483 MB / 0.6633 GB, free: 284 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/1.078, allocations: 0.8559 MB / 0.6641 GB, free: 236 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/1.079, allocations: 0.7965 MB / 0.6649 GB, free: 220 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/1.08, allocations: 87.66 kB / 0.665 GB, free: 220 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/1.08, allocations: 307.9 kB / 0.6653 GB, free: 192 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/1.081, allocations: 277.7 kB / 0.6656 GB, free: 172 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007866/1.082, allocations: 0.7692 MB / 0.6663 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/1.084, allocations: 2.001 MB / 0.6683 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.084, allocations: 5.859 kB / 0.6683 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.504e-06/1.084, allocations: 3.938 kB / 0.6683 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.982e-05/1.084, allocations: 0 / 0.6683 GB, free: 15.54 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003037/1.087, allocations: 1.991 MB / 0.6702 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.087, allocations: 12.45 kB / 0.6702 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/1.087, allocations: 184 kB / 0.6704 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/1.09, allocations: 1.461 MB / 0.6718 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/1.09, allocations: 40.22 kB / 0.6719 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/1.09, allocations: 43.78 kB / 0.6719 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/1.091, allocations: 0.6259 MB / 0.6725 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.091, allocations: 2.469 kB / 0.6725 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/1.091, allocations: 25.67 kB / 0.6726 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.091, allocations: 12.94 kB / 0.6726 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/1.092, allocations: 451.5 kB / 0.673 GB, free: 13.68 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/1.096, allocations: 3.425 MB / 0.6763 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/1.096, allocations: 219.1 kB / 0.6765 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/1.096, allocations: 98.89 kB / 0.6766 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/1.096, allocations: 178.3 kB / 0.6768 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.097, allocations: 36.94 kB / 0.6768 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/1.097, allocations: 0 / 0.6768 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.003349/1.1, allocations: 1.488 MB / 0.6783 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.1, allocations: 58.81 kB / 0.6784 GB, free: 10.71 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/1.103, allocations: 2.304 MB / 0.6806 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.103, allocations: 32.08 kB / 0.6806 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000636/1.104, allocations: 0.7618 MB / 0.6814 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/1.104, allocations: 81.47 kB / 0.6815 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.104, allocations: 91.7 kB / 0.6815 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.104, allocations: 327.3 kB / 0.6819 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/1.104, allocations: 110.4 kB / 0.682 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/1.104, allocations: 311.9 kB / 0.6823 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/1.106, allocations: 0.6767 MB / 0.6829 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.106, allocations: 2.812 kB / 0.6829 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00114/1.107, allocations: 0.7381 MB / 0.6836 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.107, allocations: 13.59 kB / 0.6837 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.107, allocations: 8 kB / 0.6837 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/1.108, allocations: 85.2 kB / 0.6837 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/1.108, allocations: 93.86 kB / 0.6838 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/1.111, allocations: 3.258 MB / 0.687 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/1.112, allocations: 23.16 kB / 0.687 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.112, allocations: 21.5 kB / 0.6871 GB, free: 6.012 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = air.vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real air.vol.dynBal.medium.T:VARIABLE(min = max(273.15, 273.15) max = min(373.15, 373.15) start = air.vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001174/1.113, allocations: 0.6367 MB / 0.6877 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/1.113, allocations: 167.7 kB / 0.6878 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/1.114, allocations: 0.5476 MB / 0.6884 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/1.114, allocations: 4.781 kB / 0.6884 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.114, allocations: 4.125 kB / 0.6884 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.114, allocations: 0 / 0.6884 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.116, allocations: 1.54 MB / 0.6899 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.116, allocations: 6.875 kB / 0.6899 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.117, allocations: 39.41 kB / 0.6899 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/1.117, allocations: 73.7 kB / 0.69 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.117, allocations: 15.2 kB / 0.69 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/1.12, allocations: 3.243 MB / 0.6932 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.12, allocations: 2.594 kB / 0.6932 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.121, allocations: 0.7327 MB / 0.6939 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/1.121, allocations: 337.5 kB / 0.6942 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.121, allocations: 6.094 kB / 0.6942 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/1.122, allocations: 9.234 kB / 0.6942 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/1.122, allocations: 31.69 kB / 0.6943 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/1.122, allocations: 7.594 kB / 0.6943 GB, free: 172 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002526/1.124, allocations: 1.63 MB / 0.6959 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.11e-07/1.125, allocations: 0 / 0.6959 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009371/1.125, allocations: 232.5 kB / 0.6961 GB, free: 15.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (air.vol.dynBal.medium.p,air.vol.dynBal.medium.T) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/1.126, allocations: 161 kB / 0.6962 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008695/1.127, allocations: 0.5495 MB / 0.6968 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.127, allocations: 192 / 0.6968 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/1.127, allocations: 354.9 kB / 0.6971 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.13, allocations: 0.7155 MB / 0.6978 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/1.135, allocations: 3.402 MB / 0.7011 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.137, allocations: 1.597 MB / 0.7027 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001038/1.138, allocations: 263.8 kB / 0.703 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/1.138, allocations: 95.42 kB / 0.703 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/1.138, allocations: 0 / 0.703 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.04582/1.184, allocations: 24.1 MB / 0.7266 GB, free: 2.492 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe 2>&1)