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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004813/0.004813, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001092/0.001092, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.136/1.136, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.331/1.331, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001259/0.001259, allocations: 74.08 kB / 0.7259 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 104.7 MB / 0.8282 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4936/0.6523, allocations: 179.4 MB / 1.003 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.6654, allocations: 10.98 MB / 1.014 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.6677, allocations: 91.56 kB / 1.014 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00545/0.6731, allocations: 2.013 MB / 1.016 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.6778, allocations: 1.665 MB / 1.018 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.6801, allocations: 0.824 MB / 1.019 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.6839, allocations: 3.197 MB / 1.022 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.6854, allocations: 1.334 MB / 1.023 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.6871, allocations: 1.163 MB / 1.024 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.689, allocations: 1.114 MB / 1.025 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.6894, allocations: 128.1 kB / 1.025 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.6911, allocations: 0.925 MB / 1.026 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.6916, allocations: 488.9 kB / 1.027 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.693, allocations: 1.1 MB / 1.028 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.6967, allocations: 3.493 MB / 1.031 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6967, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6967, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.348e-05/0.6967, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.7794 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.004186/0.7009, allocations: 2.802 MB / 1.034 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.701, allocations: 11.97 kB / 1.034 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.7023, allocations: 376.5 kB / 1.034 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.705, allocations: 2.001 MB / 1.036 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.705, allocations: 58 kB / 1.036 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.7051, allocations: 87.98 kB / 1.036 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.7064, allocations: 0.9368 MB / 1.037 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.7064, allocations: 8 kB / 1.037 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.7065, allocations: 32 kB / 1.037 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.7065, allocations: 25 kB / 1.037 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009477/0.7075, allocations: 0.7102 MB / 1.038 GB, free: 5.613 MB / 0.7794 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.00446/0.7119, allocations: 4.452 MB / 1.042 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.7123, allocations: 309.3 kB / 1.043 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.7126, allocations: 180.7 kB / 1.043 GB, free: 468 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.7127, allocations: 97.09 kB / 1.043 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.7128, allocations: 38.56 kB / 1.043 GB, free: 304 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.7128, allocations: 0 / 1.043 GB, free: 304 kB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.002365/0.7151, allocations: 1.694 MB / 1.045 GB, free: 14.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.7152, allocations: 63.34 kB / 1.045 GB, free: 14.45 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.7182, allocations: 2.945 MB / 1.048 GB, free: 11.49 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.7182, allocations: 33.7 kB / 1.048 GB, free: 11.45 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.719, allocations: 1.066 MB / 1.049 GB, free: 10.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.7191, allocations: 118.4 kB / 1.049 GB, free: 10.26 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.7192, allocations: 110 kB / 1.049 GB, free: 10.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.7193, allocations: 326 kB / 1.049 GB, free: 9.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.7195, allocations: 161 kB / 1.049 GB, free: 9.664 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.7199, allocations: 378.3 kB / 1.05 GB, free: 9.211 MB / 0.795 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.001661/0.7215, allocations: 1.051 MB / 1.051 GB, free: 8.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.7215, allocations: 0 / 1.051 GB, free: 8.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009556/0.7225, allocations: 0.7848 MB / 1.051 GB, free: 7.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7225, allocations: 8 kB / 1.051 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.7225, allocations: 8 kB / 1.051 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.7227, allocations: 69.5 kB / 1.052 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.723, allocations: 107.8 kB / 1.052 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.7243, allocations: 1.857 MB / 1.053 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.725, allocations: 31.83 kB / 1.054 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.7251, allocations: 24 kB / 1.054 GB, free: 5.016 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0008102/0.7259, allocations: 0.7918 MB / 1.054 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.7261, allocations: 233.2 kB / 1.055 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.7264, allocations: 251.7 kB / 1.055 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7264, allocations: 4 kB / 1.055 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7264, allocations: 0 / 1.055 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005942/0.727, allocations: 0.6008 MB / 1.055 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.7294, allocations: 2.046 MB / 1.057 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.7295, allocations: 4 kB / 1.057 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.7297, allocations: 63.91 kB / 1.057 GB, free: 0.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.7299, allocations: 56.81 kB / 1.057 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.7299, allocations: 12 kB / 1.057 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.7312, allocations: 1.861 MB / 1.059 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7312, allocations: 7.984 kB / 1.059 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.7321, allocations: 0.933 MB / 1.06 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.7326, allocations: 418.1 kB / 1.061 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.7328, allocations: 20 kB / 1.061 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.7334, allocations: 19.92 kB / 1.061 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.7335, allocations: 35.84 kB / 1.061 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.7335, allocations: 16 kB / 1.061 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002258/0.7357, allocations: 2.079 MB / 1.063 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7358, allocations: 0 / 1.063 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008402/0.7366, allocations: 312 kB / 1.063 GB, free: 10.86 MB / 0.8106 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.0003279/0.7369, allocations: 171.2 kB / 1.063 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007342/0.7377, allocations: 0.5225 MB / 1.064 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7377, allocations: 0 / 1.064 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.738, allocations: 303.9 kB / 1.064 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.741, allocations: 0.9589 MB / 1.065 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.7455, allocations: 4.135 MB / 1.069 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.7467, allocations: 1.961 MB / 1.071 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007142/0.7474, allocations: 338.7 kB / 1.071 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.7476, allocations: 107.4 kB / 1.071 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.7476, allocations: 0 / 1.071 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of Templates: time 0.04236/0.79, allocations: 30.04 MB / 1.101 GB, free: 4.711 MB / 0.8419 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)