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.001063/0.001063, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001444/0.001444, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.618/1.618, allocations: 252 MB / 0.5102 GB, free: 4.832 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.0005628/0.0005632, allocations: 12 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.5326, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1788/0.7114, allocations: 162.9 MB / 0.8872 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.7271, allocations: 10.19 MB / 0.8972 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.7305, allocations: 71.56 kB / 0.8972 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0053/0.7359, allocations: 1.578 MB / 0.8988 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.7408, allocations: 1.258 MB / 0.9 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.7431, allocations: 0.571 MB / 0.9006 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005305/0.7484, allocations: 3.193 MB / 0.9037 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.7503, allocations: 0.9938 MB / 0.9047 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.7522, allocations: 0.9562 MB / 0.9056 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.7536, allocations: 1.018 MB / 0.9066 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.7538, allocations: 68 kB / 0.9066 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.7554, allocations: 475 kB / 0.9071 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.7558, allocations: 406.3 kB / 0.9075 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006808/0.7565, allocations: 480.4 kB / 0.9079 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.7591, allocations: 2.388 MB / 0.9103 GB, free: 328 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7591, allocations: 0 / 0.9103 GB, free: 328 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7592, allocations: 0 / 0.9103 GB, free: 328 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.7592, allocations: 0 / 0.9103 GB, free: 328 kB / 0.7169 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.5254/1.285, allocations: 2.326 MB / 0.9125 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.285, allocations: 14.02 kB / 0.9126 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/1.287, allocations: 373.4 kB / 0.9129 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/1.291, allocations: 1.772 MB / 0.9146 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/1.291, allocations: 65.84 kB / 0.9147 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.291, allocations: 78.59 kB / 0.9148 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.293, allocations: 0.9404 MB / 0.9157 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.293, allocations: 1.094 kB / 0.9157 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/1.293, allocations: 32.12 kB / 0.9157 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/1.293, allocations: 25.27 kB / 0.9158 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.294, allocations: 0.6931 MB / 0.9164 GB, free: 179.7 MB / 0.7169 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.007635/1.302, allocations: 4.504 MB / 0.9208 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/1.303, allocations: 308.1 kB / 0.9211 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/1.303, allocations: 176.5 kB / 0.9213 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/1.303, allocations: 103.2 kB / 0.9214 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.303, allocations: 39.47 kB / 0.9214 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/1.303, allocations: 0 / 0.9214 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.003928/1.307, allocations: 1.688 MB / 0.9231 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/1.307, allocations: 55.31 kB / 0.9231 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004646/1.312, allocations: 2.954 MB / 0.926 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/1.312, allocations: 33.7 kB / 0.9261 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/1.313, allocations: 1.06 MB / 0.9271 GB, free: 173 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/1.313, allocations: 113.4 kB / 0.9272 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/1.313, allocations: 7.938 kB / 0.9272 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.414e-05/1.313, allocations: 329.9 kB / 0.9275 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.313, allocations: 155.5 kB / 0.9277 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.313, allocations: 365.1 kB / 0.928 GB, free: 172.1 MB / 0.7169 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.001315/1.315, allocations: 0.6123 MB / 0.9286 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.315, allocations: 2.594 kB / 0.9286 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001263/1.316, allocations: 0.7885 MB / 0.9294 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.316, allocations: 7.938 kB / 0.9294 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.316, allocations: 5.719 kB / 0.9294 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/1.316, allocations: 70.34 kB / 0.9295 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/1.317, allocations: 103 kB / 0.9296 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/1.318, allocations: 1.673 MB / 0.9312 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.319, allocations: 45.45 kB / 0.9312 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/1.319, allocations: 26.53 kB / 0.9313 GB, free: 169.7 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.32, allocations: 0.7927 MB / 0.932 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/1.32, allocations: 231.3 kB / 0.9323 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/1.321, allocations: 260.7 kB / 0.9325 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.321, allocations: 11.44 kB / 0.9325 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.321, allocations: 0 / 0.9325 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005268/1.321, allocations: 0.5953 MB / 0.9331 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/1.324, allocations: 2.054 MB / 0.9351 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.324, allocations: 8 kB / 0.9351 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/1.324, allocations: 63.91 kB / 0.9352 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/1.324, allocations: 64.75 kB / 0.9352 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.325, allocations: 8 kB / 0.9352 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/1.326, allocations: 1.672 MB / 0.9369 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.326, allocations: 7.938 kB / 0.9369 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.327, allocations: 0.9346 MB / 0.9378 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007338/1.327, allocations: 421.9 kB / 0.9382 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.328, allocations: 8 kB / 0.9382 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/1.328, allocations: 35.06 kB / 0.9382 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/1.328, allocations: 35.86 kB / 0.9383 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/1.328, allocations: 12 kB / 0.9383 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002423/1.331, allocations: 2.079 MB / 0.9403 GB, free: 161 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.331, allocations: 0 / 0.9403 GB, free: 161 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001119/1.332, allocations: 304 kB / 0.9406 GB, free: 160.7 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004136/1.332, allocations: 181.4 kB / 0.9408 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007675/1.333, allocations: 0.5186 MB / 0.9413 GB, free: 160 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.333, allocations: 0 / 0.9413 GB, free: 160 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/1.333, allocations: 291.7 kB / 0.9416 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.337, allocations: 0.8861 MB / 0.9424 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/1.342, allocations: 4.672 MB / 0.947 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.343, allocations: 1.957 MB / 0.9489 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001278/1.345, allocations: 338.4 kB / 0.9492 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/1.345, allocations: 99.44 kB / 0.9493 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/1.345, allocations: 0 / 0.9493 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.04307/1.388, allocations: 27.83 MB / 0.9765 GB, free: 124.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: