Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001049/0.001049, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001032/0.001032, allocations: 191 kB / 17.29 MB, free: 5.516 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.416/1.416, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.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.001634/0.001634, allocations: 79.02 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2211, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5931/0.8142, allocations: 179.2 MB / 0.9598 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.8327, allocations: 10.94 MB / 0.9705 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.836, allocations: 87.5 kB / 0.9706 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00618/0.8422, allocations: 2 MB / 0.9725 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005439/0.8477, allocations: 1.612 MB / 0.9741 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.8505, allocations: 0.7769 MB / 0.9749 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005142/0.8557, allocations: 3.128 MB / 0.9779 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.8579, allocations: 1.304 MB / 0.9792 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.8602, allocations: 1.104 MB / 0.9803 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.863, allocations: 1.107 MB / 0.9813 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006313/0.8637, allocations: 124 kB / 0.9815 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.8664, allocations: 0.9169 MB / 0.9824 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.8672, allocations: 482 kB / 0.9828 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.8694, allocations: 1.084 MB / 0.9839 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005623/0.875, allocations: 3.235 MB / 0.987 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.875, allocations: 4 kB / 0.987 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.579e-06/0.875, allocations: 0 / 0.987 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.937e-05/0.8751, allocations: 3.938 kB / 0.987 GB, free: 10.82 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003921/0.879, allocations: 2.738 MB / 0.9897 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8791, allocations: 9.156 kB / 0.9897 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.8804, allocations: 368.6 kB / 0.9901 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.8834, allocations: 1.915 MB / 0.9919 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.8834, allocations: 58 kB / 0.992 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.8836, allocations: 76 kB / 0.9921 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.8849, allocations: 0.9407 MB / 0.993 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.885, allocations: 7.922 kB / 0.993 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.8851, allocations: 32 kB / 0.993 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.979e-05/0.8851, allocations: 28.94 kB / 0.9931 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.8862, allocations: 0.6947 MB / 0.9937 GB, free: 3.789 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.005574/0.8918, allocations: 4.438 MB / 0.9981 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.8923, allocations: 324.6 kB / 0.9984 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.8926, allocations: 180.1 kB / 0.9985 GB, free: 14.63 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.8928, allocations: 97.09 kB / 0.9986 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.8928, allocations: 36.31 kB / 0.9987 GB, free: 14.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.8928, allocations: 0 / 0.9987 GB, free: 14.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.002901/0.8957, allocations: 1.697 MB / 1 GB, free: 12.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.8958, allocations: 59.41 kB / 1 GB, free: 12.63 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.8993, allocations: 2.941 MB / 1.003 GB, free: 9.676 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.8993, allocations: 33.7 kB / 1.003 GB, free: 9.637 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.9003, allocations: 1.058 MB / 1.004 GB, free: 8.574 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.9004, allocations: 110.5 kB / 1.004 GB, free: 8.465 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.9005, allocations: 110.1 kB / 1.005 GB, free: 8.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9007, allocations: 329.9 kB / 1.005 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.9009, allocations: 165 kB / 1.005 GB, free: 7.859 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.9013, allocations: 374.8 kB / 1.005 GB, free: 7.406 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.002018/0.9033, allocations: 1.067 MB / 1.006 GB, free: 6.238 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.9034, allocations: 3.938 kB / 1.006 GB, free: 6.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001167/0.9045, allocations: 0.8046 MB / 1.007 GB, free: 5.418 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9046, allocations: 9.781 kB / 1.007 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.9046, allocations: 4 kB / 1.007 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.9048, allocations: 64.81 kB / 1.007 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.9051, allocations: 95.09 kB / 1.007 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.9068, allocations: 1.865 MB / 1.009 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.9076, allocations: 33.72 kB / 1.009 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.9076, allocations: 31.92 kB / 1.009 GB, free: 3.184 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.001085/0.9087, allocations: 0.7833 MB / 1.01 GB, free: 2.391 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.909, allocations: 237 kB / 1.01 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.9093, allocations: 255.7 kB / 1.01 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9093, allocations: 4 kB / 1.01 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9094, allocations: 4 kB / 1.01 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00068/0.91, allocations: 0.5977 MB / 1.011 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.9131, allocations: 2.042 MB / 1.013 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9131, allocations: 4 kB / 1.013 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.9134, allocations: 68.31 kB / 1.013 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.9136, allocations: 60.81 kB / 1.013 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.9136, allocations: 8 kB / 1.013 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.9152, allocations: 1.857 MB / 1.015 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9152, allocations: 11.92 kB / 1.015 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.9165, allocations: 0.9406 MB / 1.016 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007635/0.9172, allocations: 410 kB / 1.016 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.9174, allocations: 15.98 kB / 1.016 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.918, allocations: 12 kB / 1.016 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.9181, allocations: 35.91 kB / 1.016 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.9181, allocations: 21.8 kB / 1.016 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002951/0.9211, allocations: 2.079 MB / 1.018 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9211, allocations: 3.938 kB / 1.018 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001028/0.9221, allocations: 296 kB / 1.019 GB, free: 9.051 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.0004094/0.9226, allocations: 167.6 kB / 1.019 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009097/0.9235, allocations: 0.524 MB / 1.019 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.9235, allocations: 4 kB / 1.019 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.9239, allocations: 307 kB / 1.02 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.9272, allocations: 0.9596 MB / 1.021 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.933, allocations: 4.117 MB / 1.025 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.9346, allocations: 1.949 MB / 1.027 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009989/0.9356, allocations: 339.8 kB / 1.027 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.9359, allocations: 111.4 kB / 1.027 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/0.9359, allocations: 0 / 1.027 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of Templates: time 0.05214/0.988, allocations: 29.7 MB / 1.056 GB, free: 3.402 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)