Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 180.3 kB / 327.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008199/0.00082, allocations: 89.73 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 9.438 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.8177/1.048, allocations: 174.6 MB / 1.072 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01927/1.068, allocations: 10.84 MB / 1.083 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/1.072, allocations: 68.69 kB / 1.083 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007667/1.08, allocations: 1.843 MB / 1.084 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/1.087, allocations: 1.485 MB / 1.086 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/1.091, allocations: 0.7383 MB / 1.087 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008798/1.1, allocations: 3.767 MB / 1.09 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/1.102, allocations: 1.134 MB / 1.091 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/1.105, allocations: 0.9929 MB / 1.092 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/1.109, allocations: 1.069 MB / 1.093 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/1.109, allocations: 71 kB / 1.093 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.112, allocations: 0.9908 MB / 1.094 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006273/1.113, allocations: 424.7 kB / 1.095 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/1.115, allocations: 1.052 MB / 1.096 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/1.118, allocations: 2.435 MB / 1.098 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.118, allocations: 0 / 1.098 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/1.118, allocations: 0 / 1.098 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.654e-05/1.118, allocations: 0 / 1.098 GB, free: 0.9336 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003632/1.122, allocations: 2.317 MB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.122, allocations: 6.625 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/1.123, allocations: 372.6 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/1.126, allocations: 1.883 MB / 1.103 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/1.126, allocations: 53.62 kB / 1.103 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.126, allocations: 79.03 kB / 1.103 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/1.127, allocations: 0.9556 MB / 1.104 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.127, allocations: 0 / 1.104 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/1.128, allocations: 31.25 kB / 1.104 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/1.128, allocations: 32.98 kB / 1.104 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/1.129, allocations: 0.6953 MB / 1.105 GB, free: 14.69 MB / 0.7136 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.005493/1.134, allocations: 4.508 MB / 1.109 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/1.135, allocations: 304 kB / 1.109 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/1.135, allocations: 180.9 kB / 1.109 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/1.135, allocations: 97.64 kB / 1.109 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.135, allocations: 36.91 kB / 1.109 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/1.135, allocations: 0 / 1.109 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.002972/1.138, allocations: 1.702 MB / 1.111 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.138, allocations: 61.42 kB / 1.111 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/1.142, allocations: 2.969 MB / 1.114 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/1.142, allocations: 40.27 kB / 1.114 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009611/1.143, allocations: 1.051 MB / 1.115 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/1.143, allocations: 115.4 kB / 1.115 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/1.143, allocations: 9.75 kB / 1.115 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.143, allocations: 325.7 kB / 1.116 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/1.143, allocations: 162.5 kB / 1.116 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/1.144, allocations: 367.5 kB / 1.116 GB, free: 10.55 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/1.146, allocations: 1.06 MB / 1.117 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.146, allocations: 0 / 1.117 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001278/1.147, allocations: 0.789 MB / 1.118 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/1.147, allocations: 8.625 kB / 1.118 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.147, allocations: 10.06 kB / 1.118 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/1.147, allocations: 63.66 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/1.148, allocations: 103.1 kB / 1.118 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/1.149, allocations: 1.687 MB / 1.12 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.15, allocations: 40.83 kB / 1.12 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/1.15, allocations: 24.03 kB / 1.12 GB, free: 8.668 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001301/1.152, allocations: 0.7949 MB / 1.121 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/1.152, allocations: 241.7 kB / 1.121 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/1.152, allocations: 250.8 kB / 1.121 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.152, allocations: 5.094 kB / 1.121 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.152, allocations: 0 / 1.121 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006909/1.153, allocations: 0.6008 MB / 1.122 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/1.157, allocations: 2.052 MB / 1.124 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.157, allocations: 3.125 kB / 1.124 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/1.157, allocations: 68.59 kB / 1.124 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/1.157, allocations: 58.95 kB / 1.124 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/1.157, allocations: 17.06 kB / 1.124 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.159, allocations: 1.677 MB / 1.125 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.159, allocations: 6.562 kB / 1.125 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/1.161, allocations: 0.9425 MB / 1.126 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008703/1.162, allocations: 415.4 kB / 1.127 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.162, allocations: 18.3 kB / 1.127 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/1.163, allocations: 31.2 kB / 1.127 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/1.163, allocations: 32.5 kB / 1.127 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/1.163, allocations: 16.52 kB / 1.127 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003195/1.166, allocations: 2.104 MB / 1.129 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.166, allocations: 0 / 1.129 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001151/1.167, allocations: 308.7 kB / 1.129 GB, free: 5.438 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.U,air.vol.dynBal.mXi[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004565/1.168, allocations: 166 kB / 1.129 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009106/1.169, allocations: 0.5243 MB / 1.13 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.169, allocations: 0.5 kB / 1.13 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/1.169, allocations: 304.1 kB / 1.13 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/1.174, allocations: 0.8842 MB / 1.131 GB, free: 5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/1.18, allocations: 4.658 MB / 1.136 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.181, allocations: 1.82 MB / 1.137 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/1.182, allocations: 106.7 kB / 1.137 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.182, allocations: 0 / 1.137 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of Templates: time 0.0663/1.248, allocations: 42.5 MB / 1.179 GB, free: 14.85 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)