Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.007435/0.007435, allocations: 179.3 kB / 16.26 MB, free: 6.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 9.281 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2751, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.164/0.4392, allocations: 174.5 MB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.454, allocations: 10.82 MB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.4567, allocations: 71.56 kB / 1.24 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005576/0.4623, allocations: 1.831 MB / 1.242 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.4675, allocations: 1.485 MB / 1.243 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4699, allocations: 0.7159 MB / 1.244 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004793/0.4747, allocations: 3.697 MB / 1.247 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.4766, allocations: 1.148 MB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.4784, allocations: 0.9675 MB / 1.249 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5109/0.9894, allocations: 1.063 MB / 1.25 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.9898, allocations: 70.12 kB / 1.251 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.9919, allocations: 0.9906 MB / 1.252 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004269/0.9924, allocations: 409.3 kB / 1.252 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.9934, allocations: 1.043 MB / 1.253 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.9962, allocations: 3.044 MB / 1.256 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9962, allocations: 3.281 kB / 1.256 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9963, allocations: 0 / 1.256 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.9963, allocations: 3.75 kB / 1.256 GB, free: 5.879 MB / 0.9981 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.002824/0.9991, allocations: 2.312 MB / 1.258 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.9992, allocations: 11.75 kB / 1.258 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.9993, allocations: 125.2 kB / 1.258 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.001, allocations: 370.3 kB / 1.259 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/1.003, allocations: 1.896 MB / 1.261 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/1.003, allocations: 59.44 kB / 1.261 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/1.003, allocations: 74.38 kB / 1.261 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.004, allocations: 0.9406 MB / 1.262 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.004, allocations: 2.844 kB / 1.262 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/1.004, allocations: 30.62 kB / 1.262 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/1.004, allocations: 30.8 kB / 1.262 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/1.005, allocations: 0.696 MB / 1.262 GB, free: 3.664 MB / 0.9981 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.004655/1.01, allocations: 4.501 MB / 1.267 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/1.01, allocations: 310.2 kB / 1.267 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.011, allocations: 179.1 kB / 1.267 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/1.011, allocations: 98.88 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.011, allocations: 37.8 kB / 1.267 GB, free: 17.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/1.011, allocations: 0 / 1.267 GB, free: 17.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002675/1.014, allocations: 1.703 MB / 1.269 GB, free: 16.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/1.014, allocations: 55.34 kB / 1.269 GB, free: 16.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/1.017, allocations: 2.979 MB / 1.272 GB, free: 16.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.018, allocations: 36.23 kB / 1.272 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007835/1.018, allocations: 1.053 MB / 1.273 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/1.018, allocations: 113.8 kB / 1.273 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/1.018, allocations: 50.42 kB / 1.273 GB, free: 16.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/1.019, allocations: 325.7 kB / 1.273 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/1.019, allocations: 162.8 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/1.019, allocations: 371.3 kB / 1.274 GB, free: 15.55 MB / 1.014 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.002215/1.021, allocations: 1.079 MB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.021, allocations: 2.219 kB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001214/1.023, allocations: 0.8007 MB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.023, allocations: 7.906 kB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.023, allocations: 6.562 kB / 1.276 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/1.023, allocations: 61.52 kB / 1.276 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/1.023, allocations: 101.7 kB / 1.276 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/1.025, allocations: 1.682 MB / 1.278 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/1.025, allocations: 44.94 kB / 1.278 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.025, allocations: 25.23 kB / 1.278 GB, free: 13.68 MB / 1.014 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 (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.0008749/1.026, allocations: 0.7933 MB / 1.278 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/1.027, allocations: 233.8 kB / 1.279 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/1.027, allocations: 260.4 kB / 1.279 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.027, allocations: 2.406 kB / 1.279 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.027, allocations: 1.188 kB / 1.279 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005971/1.028, allocations: 0.5966 MB / 1.279 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/1.03, allocations: 2.055 MB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.03, allocations: 6.625 kB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/1.031, allocations: 68.84 kB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/1.031, allocations: 58.27 kB / 1.282 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/1.031, allocations: 9.906 kB / 1.282 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/1.032, allocations: 1.678 MB / 1.283 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.032, allocations: 7.031 kB / 1.283 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/1.033, allocations: 0.9268 MB / 1.284 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/1.033, allocations: 410.5 kB / 1.285 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.034, allocations: 15.09 kB / 1.285 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/1.034, allocations: 43.22 kB / 1.285 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/1.034, allocations: 36.52 kB / 1.285 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/1.034, allocations: 11.38 kB / 1.285 GB, free: 10.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00237/1.037, allocations: 2.108 MB / 1.287 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.037, allocations: 0 / 1.287 GB, free: 10.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009414/1.038, allocations: 304.3 kB / 1.287 GB, free: 10.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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.001454/1.039, allocations: 1.545 MB / 1.289 GB, free: 9.535 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007239/1.04, allocations: 0.5161 MB / 1.289 GB, free: 9.422 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.04, allocations: 1.438 kB / 1.289 GB, free: 9.422 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/1.04, allocations: 306.1 kB / 1.289 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00441/1.045, allocations: 0.8844 MB / 1.29 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.071, allocations: 20.14 MB / 1.31 GB, free: 1.309 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.072, allocations: 1.96 MB / 1.312 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001075/1.074, allocations: 340.4 kB / 1.312 GB, free: 484 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/1.074, allocations: 0.7977 MB / 1.313 GB, free: 476 kB / 1.014 GB Notification: Performance of SimCode: time 1.423e-06/1.074, allocations: 4 kB / 1.313 GB, free: 472 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/2.769, allocations: 48.97 MB / 1.361 GB, free: 12.09 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/2.769, allocations: 309.8 kB / 1.361 GB, free: 11.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/5.379, allocations: 0 / 1.361 GB, free: 11.7 MB / 1.045 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)