Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.67/1.67, allocations: 287.4 MB / 302.6 MB, free: 8.203 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.001066/0.001066, allocations: 185 kB / 371.1 MB, free: 10.74 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.491/1.491, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007606/0.0007608, allocations: 96.61 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005464, allocations: 15.62 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2016, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6319/0.8336, allocations: 162.8 MB / 1.138 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.8494, allocations: 10.13 MB / 1.148 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/0.8532, allocations: 70.28 kB / 1.148 GB, free: 11.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006288/0.8595, allocations: 1.592 MB / 1.149 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.8649, allocations: 1.238 MB / 1.15 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.8676, allocations: 0.5689 MB / 1.151 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005968/0.8736, allocations: 3.313 MB / 1.154 GB, free: 8.898 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.8762, allocations: 1.118 MB / 1.155 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.879, allocations: 0.9405 MB / 1.156 GB, free: 7.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.8814, allocations: 1.014 MB / 1.157 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006015/0.8821, allocations: 70.06 kB / 1.157 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.8846, allocations: 473.8 kB / 1.158 GB, free: 7.043 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008877/0.8855, allocations: 399.8 kB / 1.158 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.8868, allocations: 471.7 kB / 1.159 GB, free: 6.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.8908, allocations: 2.359 MB / 1.161 GB, free: 4.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8909, allocations: 3.938 kB / 1.161 GB, free: 4.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8909, allocations: 0.9688 kB / 1.161 GB, free: 4.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001396/0.891, allocations: 4 kB / 1.161 GB, free: 4.902 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.006128/0.8971, allocations: 2.301 MB / 1.163 GB, free: 3.188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.8972, allocations: 10.12 kB / 1.163 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003749/0.8976, allocations: 123.8 kB / 1.163 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.8995, allocations: 380.8 kB / 1.164 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.9045, allocations: 1.874 MB / 1.165 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.9046, allocations: 62.16 kB / 1.165 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.9049, allocations: 77.81 kB / 1.166 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.9069, allocations: 0.9328 MB / 1.166 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.907, allocations: 1.188 kB / 1.166 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.907, allocations: 32.28 kB / 1.167 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.9071, allocations: 32.92 kB / 1.167 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.9085, allocations: 0.6887 MB / 1.167 GB, free: 0.5234 MB / 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.008261/0.9168, allocations: 4.488 MB / 1.172 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.9173, allocations: 322.6 kB / 1.172 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.9176, allocations: 169.5 kB / 1.172 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.9178, allocations: 98.91 kB / 1.172 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.9179, allocations: 45.72 kB / 1.172 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.015e-06/0.9179, allocations: 0 / 1.172 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.004172/0.922, allocations: 1.696 MB / 1.174 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9221, allocations: 54.22 kB / 1.174 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/0.9276, allocations: 2.941 MB / 1.177 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.9277, allocations: 31.73 kB / 1.177 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.9288, allocations: 1.058 MB / 1.178 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.929, allocations: 115.4 kB / 1.178 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.929, allocations: 8 kB / 1.178 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9291, allocations: 327.7 kB / 1.178 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.9294, allocations: 168 kB / 1.178 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.9299, allocations: 355.2 kB / 1.179 GB, free: 7.949 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.00216/0.932, allocations: 1.082 MB / 1.18 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9321, allocations: 7.875 kB / 1.18 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001816/0.9339, allocations: 0.7776 MB / 1.181 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.9339, allocations: 9.469 kB / 1.181 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.9339, allocations: 5.125 kB / 1.181 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.9342, allocations: 76.28 kB / 1.181 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.9345, allocations: 97.19 kB / 1.181 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.9362, allocations: 1.69 MB / 1.182 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.9377, allocations: 35.8 kB / 1.182 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.9378, allocations: 26.8 kB / 1.182 GB, free: 5.047 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.001559/0.9394, allocations: 0.7978 MB / 1.183 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/0.94, allocations: 236.3 kB / 1.183 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007626/0.9408, allocations: 250.7 kB / 1.184 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9408, allocations: 3.312 kB / 1.184 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.9408, allocations: 2.906 kB / 1.184 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007556/0.9416, allocations: 0.6017 MB / 1.184 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/0.9462, allocations: 2.041 MB / 1.186 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.9462, allocations: 2.562 kB / 1.186 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.9465, allocations: 72.03 kB / 1.186 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.9467, allocations: 59.66 kB / 1.186 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.9468, allocations: 13.06 kB / 1.186 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.9482, allocations: 1.685 MB / 1.188 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.9483, allocations: 5.375 kB / 1.188 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.9499, allocations: 0.9512 MB / 1.189 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.9511, allocations: 410.5 kB / 1.189 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/0.9518, allocations: 13.83 kB / 1.189 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.9529, allocations: 25.55 kB / 1.189 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.953, allocations: 34.88 kB / 1.19 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.953, allocations: 17.78 kB / 1.19 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003941/0.957, allocations: 2.072 MB / 1.192 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.01e-07/0.957, allocations: 0 / 1.192 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001777/0.9588, allocations: 302.5 kB / 1.192 GB, free: 14.51 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.002165/0.961, allocations: 1.552 MB / 1.193 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.962, allocations: 0.5287 MB / 1.194 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9621, allocations: 0 / 1.194 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.9625, allocations: 305.5 kB / 1.194 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/0.9681, allocations: 0.8773 MB / 1.195 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/1.003, allocations: 15.58 MB / 1.21 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/1.006, allocations: 1.957 MB / 1.212 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001812/1.008, allocations: 334.4 kB / 1.212 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.009, allocations: 0.8 MB / 1.213 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of SimCode: time 1.713e-06/1.009, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4631/1.472, allocations: 49.45 MB / 1.262 GB, free: 8.027 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.473, allocations: 277.6 kB / 1.262 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/5.415, allocations: 3.938 kB / 1.262 GB, free: 7.664 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)