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.538/1.538, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.001299/0.001299, allocations: 193.3 kB / 372.3 MB, free: 10.12 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.545/1.545, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008627/0.0008629, allocations: 98.2 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004303, allocations: 12.53 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.217, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7308/0.9479, allocations: 162.8 MB / 1.139 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.9665, allocations: 10.13 MB / 1.149 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004614/0.9712, allocations: 70.72 kB / 1.149 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0071/0.9784, allocations: 1.667 MB / 1.151 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.9855, allocations: 1.375 MB / 1.152 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.9888, allocations: 0.5869 MB / 1.153 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008028/0.9969, allocations: 3.306 MB / 1.156 GB, free: 7.773 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/1, allocations: 1.118 MB / 1.157 GB, free: 7.195 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/1.004, allocations: 0.9438 MB / 1.158 GB, free: 6.699 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/1.007, allocations: 1.016 MB / 1.159 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005666/1.008, allocations: 69.12 kB / 1.159 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/1.011, allocations: 0.9706 MB / 1.16 GB, free: 5.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008573/1.012, allocations: 396.1 kB / 1.16 GB, free: 5.328 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003684/1.016, allocations: 0.9905 MB / 1.161 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006034/1.022, allocations: 2.407 MB / 1.164 GB, free: 3.078 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/1.022, allocations: 0 / 1.164 GB, free: 3.078 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/1.022, allocations: 5.25 kB / 1.164 GB, free: 3.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001412/1.022, allocations: 0 / 1.164 GB, free: 3.074 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.007115/1.029, allocations: 2.314 MB / 1.166 GB, free: 1.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.575e-05/1.029, allocations: 8.938 kB / 1.166 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003517/1.029, allocations: 127.5 kB / 1.166 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.032, allocations: 373.1 kB / 1.166 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/1.036, allocations: 1.875 MB / 1.168 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/1.036, allocations: 61.62 kB / 1.168 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.036, allocations: 74.88 kB / 1.168 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.038, allocations: 0.9284 MB / 1.169 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/1.038, allocations: 5.094 kB / 1.169 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/1.038, allocations: 32.62 kB / 1.169 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/1.038, allocations: 32.64 kB / 1.169 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.04, allocations: 0.6884 MB / 1.17 GB, free: 14.69 MB / 0.7136 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.008325/1.048, allocations: 4.494 MB / 1.174 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/1.049, allocations: 316 kB / 1.175 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/1.049, allocations: 178.5 kB / 1.175 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/1.049, allocations: 99.12 kB / 1.175 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.049, allocations: 37.47 kB / 1.175 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.707e-06/1.049, allocations: 0 / 1.175 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.004124/1.053, allocations: 1.708 MB / 1.177 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.053, allocations: 54.03 kB / 1.177 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/1.058, allocations: 2.939 MB / 1.18 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/1.058, allocations: 33.7 kB / 1.18 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009892/1.059, allocations: 1.05 MB / 1.181 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.059, allocations: 119 kB / 1.181 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.059, allocations: 10.09 kB / 1.181 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.059, allocations: 331.7 kB / 1.181 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.06, allocations: 157.8 kB / 1.181 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/1.06, allocations: 373.3 kB / 1.182 GB, free: 6.094 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.002201/1.062, allocations: 1.067 MB / 1.183 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/1.062, allocations: 10.52 kB / 1.183 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001674/1.064, allocations: 0.7848 MB / 1.183 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.064, allocations: 8.281 kB / 1.183 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.064, allocations: 9.531 kB / 1.183 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/1.064, allocations: 60.31 kB / 1.183 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/1.065, allocations: 99.94 kB / 1.184 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.066, allocations: 1.691 MB / 1.185 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.068, allocations: 38.66 kB / 1.185 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/1.068, allocations: 31.92 kB / 1.185 GB, free: 3.199 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.001691/1.07, allocations: 0.787 MB / 1.186 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/1.07, allocations: 234.5 kB / 1.186 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/1.071, allocations: 259.9 kB / 1.186 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.071, allocations: 2.906 kB / 1.186 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.071, allocations: 0 / 1.186 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007932/1.072, allocations: 0.5972 MB / 1.187 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/1.076, allocations: 2.051 MB / 1.189 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.076, allocations: 2.906 kB / 1.189 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/1.076, allocations: 68.38 kB / 1.189 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/1.076, allocations: 62.44 kB / 1.189 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/1.077, allocations: 10.19 kB / 1.189 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/1.078, allocations: 1.677 MB / 1.191 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.078, allocations: 8.969 kB / 1.191 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/1.08, allocations: 0.9394 MB / 1.192 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.081, allocations: 410.3 kB / 1.192 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007692/1.082, allocations: 14.02 kB / 1.192 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.084, allocations: 25.39 kB / 1.192 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/1.084, allocations: 39.11 kB / 1.192 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/1.084, allocations: 17.03 kB / 1.192 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005032/1.089, allocations: 2.073 MB / 1.194 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/1.089, allocations: 3.938 kB / 1.194 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002354/1.091, allocations: 305.2 kB / 1.195 GB, free: 12.68 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.002946/1.094, allocations: 1.568 MB / 1.196 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.095, allocations: 0.5182 MB / 1.197 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.095, allocations: 448 / 1.197 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/1.096, allocations: 302.4 kB / 1.197 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007509/1.103, allocations: 0.8751 MB / 1.198 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04106/1.144, allocations: 15.59 MB / 1.213 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/1.148, allocations: 1.953 MB / 1.215 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001824/1.149, allocations: 342.4 kB / 1.215 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/1.151, allocations: 0.7961 MB / 1.216 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of SimCode: time 1.282e-06/1.151, allocations: 0 / 1.216 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4106/1.562, allocations: 49.96 MB / 1.265 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004409/1.562, allocations: 284.2 kB / 1.265 GB, free: 4.707 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.179/5.741, allocations: 0 / 1.265 GB, free: 4.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)