Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001074/0.001073, allocations: 180.5 kB / 372 MB, free: 10.25 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.579/1.579, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009386/0.0009383, allocations: 96.83 kB / 0.744 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004988, allocations: 11.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5976/0.8102, allocations: 162.8 MB / 1.139 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.828, allocations: 10.12 MB / 1.148 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.8324, allocations: 67.03 kB / 1.149 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005815/0.8382, allocations: 1.582 MB / 1.15 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.8435, allocations: 1.237 MB / 1.151 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.846, allocations: 0.567 MB / 1.152 GB, free: 9.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005759/0.8518, allocations: 3.121 MB / 1.155 GB, free: 8.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.8541, allocations: 0.9853 MB / 1.156 GB, free: 7.727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.8568, allocations: 0.9345 MB / 1.157 GB, free: 7.234 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.8598, allocations: 1.006 MB / 1.158 GB, free: 6.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007743/0.8607, allocations: 74.06 kB / 1.158 GB, free: 6.648 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.8635, allocations: 484.9 kB / 1.158 GB, free: 6.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007534/0.8643, allocations: 393 kB / 1.159 GB, free: 6.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.8656, allocations: 475.1 kB / 1.159 GB, free: 5.879 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.8691, allocations: 2.363 MB / 1.161 GB, free: 4.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8691, allocations: 1.125 kB / 1.161 GB, free: 4.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8691, allocations: 3.938 kB / 1.161 GB, free: 4.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.949e-05/0.8692, allocations: 0 / 1.161 GB, free: 4.301 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004689/0.8739, allocations: 2.334 MB / 1.164 GB, free: 2.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8739, allocations: 8.906 kB / 1.164 GB, free: 2.578 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002663/0.8742, allocations: 123.3 kB / 1.164 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.8759, allocations: 374.4 kB / 1.164 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.8795, allocations: 1.766 MB / 1.166 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.8796, allocations: 57.62 kB / 1.166 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.8797, allocations: 81.41 kB / 1.166 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.8813, allocations: 0.9263 MB / 1.167 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.8813, allocations: 9.219 kB / 1.167 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.8814, allocations: 36.14 kB / 1.167 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.8815, allocations: 29.42 kB / 1.167 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8826, allocations: 0.6881 MB / 1.168 GB, free: 40 kB / 0.698 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.007907/0.8905, allocations: 4.478 MB / 1.172 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.8912, allocations: 325.5 kB / 1.172 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.8914, allocations: 171.5 kB / 1.173 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.8916, allocations: 102.4 kB / 1.173 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.8917, allocations: 41.08 kB / 1.173 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.375e-06/0.8917, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.004084/0.8958, allocations: 1.699 MB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.8958, allocations: 57.47 kB / 1.174 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/0.9004, allocations: 2.94 MB / 1.177 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.9006, allocations: 36.58 kB / 1.177 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009907/0.9016, allocations: 1.051 MB / 1.178 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.9018, allocations: 119.3 kB / 1.178 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.9018, allocations: 10.84 kB / 1.178 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9019, allocations: 330.8 kB / 1.179 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.9022, allocations: 164.6 kB / 1.179 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.9026, allocations: 362.4 kB / 1.179 GB, free: 7.449 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.001599/0.9042, allocations: 0.6171 MB / 1.18 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.9042, allocations: 2.969 kB / 1.18 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00153/0.9058, allocations: 0.7833 MB / 1.181 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.9058, allocations: 8.094 kB / 1.181 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.9058, allocations: 10.55 kB / 1.181 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.9061, allocations: 68.28 kB / 1.181 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.9064, allocations: 103.5 kB / 1.181 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.9079, allocations: 1.676 MB / 1.182 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.9092, allocations: 43.31 kB / 1.183 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.9093, allocations: 22.69 kB / 1.183 GB, free: 4.961 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 (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.001346/0.9107, allocations: 0.7979 MB / 1.183 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/0.9112, allocations: 230.2 kB / 1.184 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.9117, allocations: 250.2 kB / 1.184 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9117, allocations: 5.062 kB / 1.184 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9117, allocations: 0 / 1.184 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007447/0.9125, allocations: 0.6001 MB / 1.184 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.9164, allocations: 2.051 MB / 1.186 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9164, allocations: 3.312 kB / 1.186 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.9168, allocations: 67.84 kB / 1.186 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.9169, allocations: 58.44 kB / 1.186 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.917, allocations: 10 kB / 1.186 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.9184, allocations: 1.685 MB / 1.188 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.9184, allocations: 9.156 kB / 1.188 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.9199, allocations: 0.9409 MB / 1.189 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009405/0.9208, allocations: 415.3 kB / 1.189 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.9211, allocations: 8.594 kB / 1.189 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.9217, allocations: 29.67 kB / 1.189 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.9218, allocations: 33.67 kB / 1.19 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.9218, allocations: 18.81 kB / 1.19 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003256/0.9251, allocations: 2.071 MB / 1.192 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9251, allocations: 3.031 kB / 1.192 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001501/0.9266, allocations: 300.2 kB / 1.192 GB, free: 14.44 MB / 0.7292 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.001952/0.9286, allocations: 1.565 MB / 1.193 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000934/0.9296, allocations: 0.521 MB / 1.194 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9296, allocations: 0 / 1.194 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.93, allocations: 304.5 kB / 1.194 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/0.9348, allocations: 0.8999 MB / 1.195 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/0.9695, allocations: 15.59 MB / 1.21 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.9713, allocations: 1.953 MB / 1.212 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001412/0.9727, allocations: 338.4 kB / 1.213 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.9738, allocations: 0.8 MB / 1.213 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.9738, allocations: 3.938 kB / 1.213 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0806/1.054, allocations: 49.44 MB / 1.262 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.055, allocations: 289.6 kB / 1.262 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.408/4.462, allocations: 0 / 1.262 GB, free: 7.707 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)