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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 183.8 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009478/0.0009476, allocations: 94.06 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008597/0.0008597, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2107, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5345/0.7452, allocations: 176.9 MB / 1.155 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.7607, allocations: 10.91 MB / 1.166 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.7634, allocations: 73.69 kB / 1.166 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005089/0.7685, allocations: 1.832 MB / 1.167 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.7725, allocations: 1.487 MB / 1.169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.7744, allocations: 0.7006 MB / 1.17 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.7784, allocations: 3.712 MB / 1.173 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.7797, allocations: 1.159 MB / 1.174 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.7811, allocations: 1.002 MB / 1.175 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.7828, allocations: 1.119 MB / 1.176 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.783, allocations: 83 kB / 1.176 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.7848, allocations: 1.004 MB / 1.177 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.7851, allocations: 438 kB / 1.178 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000868/0.786, allocations: 1.042 MB / 1.179 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.7885, allocations: 3.094 MB / 1.182 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7885, allocations: 0 / 1.182 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.41e-07/0.7885, allocations: 0 / 1.182 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.82e-05/0.7885, allocations: 0 / 1.182 GB, free: 6.277 MB / 0.7761 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.003529/0.7921, allocations: 2.707 MB / 1.185 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7921, allocations: 10.81 kB / 1.185 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.7933, allocations: 377.7 kB / 1.185 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.7959, allocations: 1.865 MB / 1.187 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.7959, allocations: 61.06 kB / 1.187 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.796, allocations: 74.38 kB / 1.187 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.7972, allocations: 0.9367 MB / 1.188 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.7972, allocations: 0 / 1.188 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.7973, allocations: 34.56 kB / 1.188 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.7973, allocations: 35.16 kB / 1.188 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.7982, allocations: 0.6969 MB / 1.189 GB, free: 2.621 MB / 0.7761 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.005069/0.8033, allocations: 4.474 MB / 1.193 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.8038, allocations: 323.4 kB / 1.193 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.8041, allocations: 182.7 kB / 1.193 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.8042, allocations: 94.64 kB / 1.193 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.8043, allocations: 41.03 kB / 1.194 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.8043, allocations: 0 / 1.194 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=32): time 0.002793/0.8071, allocations: 1.695 MB / 1.195 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.8071, allocations: 59.12 kB / 1.195 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.8105, allocations: 2.963 MB / 1.198 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.8106, allocations: 36.11 kB / 1.198 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008217/0.8114, allocations: 1.041 MB / 1.199 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.8115, allocations: 128.2 kB / 1.199 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.8117, allocations: 110 kB / 1.199 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8118, allocations: 324.2 kB / 1.2 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.812, allocations: 164.3 kB / 1.2 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.8124, allocations: 369.2 kB / 1.2 GB, free: 11.59 MB / 0.7917 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.001888/0.8143, allocations: 1.063 MB / 1.201 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8143, allocations: 2.625 kB / 1.201 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001172/0.8155, allocations: 0.804 MB / 1.202 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8155, allocations: 7.469 kB / 1.202 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8155, allocations: 8.281 kB / 1.202 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.8157, allocations: 70.17 kB / 1.202 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.816, allocations: 99.36 kB / 1.202 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.8174, allocations: 1.676 MB / 1.204 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.8183, allocations: 45.23 kB / 1.204 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.8183, allocations: 23.34 kB / 1.204 GB, free: 9.008 MB / 0.7917 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.0009415/0.8193, allocations: 0.7996 MB / 1.205 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.8195, allocations: 232.4 kB / 1.205 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.8198, allocations: 256.8 kB / 1.205 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.8198, allocations: 3.188 kB / 1.205 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.8198, allocations: 2.125 kB / 1.205 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005982/0.8204, allocations: 0.5951 MB / 1.206 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.8232, allocations: 2.05 MB / 1.208 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8232, allocations: 6.688 kB / 1.208 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.8235, allocations: 66.41 kB / 1.208 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.8237, allocations: 61.83 kB / 1.208 GB, free: 6.887 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.8237, allocations: 9.906 kB / 1.208 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.825, allocations: 1.667 MB / 1.21 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.825, allocations: 6.828 kB / 1.21 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008747/0.8338, allocations: 6.987 MB / 1.216 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008603/0.8347, allocations: 417.1 kB / 1.217 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.8349, allocations: 16.55 kB / 1.217 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.8356, allocations: 26.69 kB / 1.217 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.8358, allocations: 24.73 kB / 1.217 GB, free: 488 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.8358, allocations: 16.98 kB / 1.217 GB, free: 484 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004084/0.8399, allocations: 2.102 MB / 1.219 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8399, allocations: 0 / 1.219 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001864/0.8418, allocations: 0.513 MB / 1.219 GB, free: 15.75 MB / 0.8073 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.0004211/0.8422, allocations: 174.4 kB / 1.22 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.8432, allocations: 0.5287 MB / 1.22 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8433, allocations: 1.125 kB / 1.22 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.8437, allocations: 303.6 kB / 1.22 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/0.8477, allocations: 0.8817 MB / 1.221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/0.8555, allocations: 5.14 MB / 1.226 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/0.8582, allocations: 1.96 MB / 1.228 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001546/0.8598, allocations: 345.2 kB / 1.228 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.8601, allocations: 102.1 kB / 1.229 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.8601, allocations: 0 / 1.229 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.04966/0.9098, allocations: 29.9 MB / 1.258 GB, free: 8.367 MB / 0.823 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 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)