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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001815/0.001816, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002394/0.002394, allocations: 190.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.32/2.32, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.848/4.848, allocations: 461.9 MB / 0.7344 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 62.12 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5597, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2968/0.8566, allocations: 176.8 MB / 1.225 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0269/0.8835, allocations: 10.85 MB / 1.236 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005405/0.889, allocations: 75.56 kB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00996/0.899, allocations: 1.87 MB / 1.238 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00777/0.9069, allocations: 1.477 MB / 1.239 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.9105, allocations: 0.7164 MB / 1.24 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007263/0.9178, allocations: 3.161 MB / 1.243 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.9206, allocations: 1.305 MB / 1.244 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.9237, allocations: 1.124 MB / 1.245 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.9273, allocations: 1.163 MB / 1.246 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004477/0.9278, allocations: 128 kB / 1.246 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.9306, allocations: 0.9588 MB / 1.247 GB, free: 224 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.149/2.08, allocations: 476.5 kB / 1.248 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004312/2.084, allocations: 1.098 MB / 1.249 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/2.094, allocations: 3.267 MB / 1.252 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/2.094, allocations: 0 / 1.252 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.384e-06/2.094, allocations: 0 / 1.252 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001205/2.094, allocations: 2.594 kB / 1.252 GB, free: 7.461 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.01058/2.105, allocations: 2.747 MB / 1.255 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/2.105, allocations: 12.28 kB / 1.255 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003394/2.105, allocations: 125.5 kB / 1.255 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/2.108, allocations: 377.1 kB / 1.255 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007017/2.115, allocations: 1.885 MB / 1.257 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/2.115, allocations: 63.22 kB / 1.257 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/2.115, allocations: 74.53 kB / 1.257 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/2.118, allocations: 0.9413 MB / 1.258 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/2.118, allocations: 7.141 kB / 1.258 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/2.119, allocations: 33.19 kB / 1.258 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/2.119, allocations: 24.36 kB / 1.258 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/2.121, allocations: 0.6972 MB / 1.259 GB, free: 5.145 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.01251/2.133, allocations: 4.495 MB / 1.263 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/2.134, allocations: 312.8 kB / 1.264 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/2.135, allocations: 180.8 kB / 1.264 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/2.135, allocations: 97.36 kB / 1.264 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/2.135, allocations: 34 kB / 1.264 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 5.109e-06/2.135, allocations: 0.875 kB / 1.264 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.007432/2.143, allocations: 1.708 MB / 1.266 GB, free: 18.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/2.143, allocations: 56.3 kB / 1.266 GB, free: 18.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/2.156, allocations: 2.972 MB / 1.269 GB, free: 17.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/2.156, allocations: 30.92 kB / 1.269 GB, free: 17.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/2.158, allocations: 1.054 MB / 1.27 GB, free: 17.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/2.158, allocations: 121.1 kB / 1.27 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/2.159, allocations: 111.3 kB / 1.27 GB, free: 17.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002871/2.159, allocations: 326 kB / 1.27 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/2.16, allocations: 166.3 kB / 1.27 GB, free: 17.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/2.16, allocations: 366.6 kB / 1.271 GB, free: 17.05 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.004384/2.165, allocations: 1.087 MB / 1.272 GB, free: 16.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/2.165, allocations: 1.594 kB / 1.272 GB, free: 16.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003529/2.168, allocations: 0.7912 MB / 1.272 GB, free: 16.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/2.169, allocations: 8.141 kB / 1.272 GB, free: 16.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/2.169, allocations: 7.562 kB / 1.272 GB, free: 16.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/2.169, allocations: 66.39 kB / 1.273 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/2.17, allocations: 100 kB / 1.273 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/2.173, allocations: 1.864 MB / 1.274 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/2.176, allocations: 46.41 kB / 1.274 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/2.176, allocations: 25.23 kB / 1.275 GB, free: 15.06 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 system: 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.00314/2.179, allocations: 0.8009 MB / 1.275 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/2.181, allocations: 233.8 kB / 1.276 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/2.182, allocations: 251.7 kB / 1.276 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/2.182, allocations: 6.188 kB / 1.276 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/2.182, allocations: 1.312 kB / 1.276 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/2.183, allocations: 0.6052 MB / 1.276 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007918/2.191, allocations: 2.05 MB / 1.278 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/2.191, allocations: 5.297 kB / 1.278 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/2.192, allocations: 68.11 kB / 1.278 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/2.192, allocations: 62.58 kB / 1.278 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/2.192, allocations: 9.188 kB / 1.279 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/2.196, allocations: 1.862 MB / 1.28 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.196, allocations: 3.688 kB / 1.28 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/2.199, allocations: 0.9218 MB / 1.281 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/2.202, allocations: 413.8 kB / 1.282 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/2.203, allocations: 14.22 kB / 1.282 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/2.205, allocations: 32.23 kB / 1.282 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/2.205, allocations: 41.09 kB / 1.282 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/2.205, allocations: 14.31 kB / 1.282 GB, free: 11.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.008267/2.213, allocations: 2.099 MB / 1.284 GB, free: 11.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.542e-06/2.213, allocations: 0.8438 kB / 1.284 GB, free: 11.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004112/2.218, allocations: 299.9 kB / 1.284 GB, free: 11.7 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.004522/2.222, allocations: 1.542 MB / 1.286 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001954/2.224, allocations: 0.5451 MB / 1.286 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.224, allocations: 1.344 kB / 1.286 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00086/2.225, allocations: 303.6 kB / 1.286 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009666/2.235, allocations: 0.9677 MB / 1.287 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07939/2.314, allocations: 20.51 MB / 1.307 GB, free: 2.758 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003286/2.317, allocations: 1.955 MB / 1.309 GB, free: 2.016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003139/2.321, allocations: 397.1 kB / 1.31 GB, free: 1.984 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/2.323, allocations: 0.8199 MB / 1.31 GB, free: 1.977 MB / 1.014 GB Notification: Performance of SimCode: time 1.984e-06/2.323, allocations: 0 / 1.31 GB, free: 1.977 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6776/3, allocations: 51.62 MB / 1.361 GB, free: 11.36 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004132/3.001, allocations: 312.2 kB / 1.361 GB, free: 10.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.606/8.607, allocations: 0 / 1.361 GB, free: 10.97 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)