Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.001189/0.001189, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.17/1.17, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.41/2.41, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 64.62 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2451, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.163/0.4081, allocations: 176.8 MB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5169/0.9251, allocations: 10.83 MB / 1.251 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.9276, allocations: 76.81 kB / 1.251 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005005/0.9326, allocations: 1.873 MB / 1.253 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.9363, allocations: 1.483 MB / 1.254 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.9381, allocations: 0.7209 MB / 1.255 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00406/0.9421, allocations: 3.154 MB / 1.258 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.9436, allocations: 1.31 MB / 1.259 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.9453, allocations: 1.122 MB / 1.26 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.9472, allocations: 1.149 MB / 1.262 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.9475, allocations: 130.2 kB / 1.262 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.9492, allocations: 0.9582 MB / 1.263 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.9496, allocations: 484.3 kB / 1.263 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009424/0.9506, allocations: 1.096 MB / 1.264 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.9538, allocations: 3.269 MB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9538, allocations: 6.516 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9538, allocations: 0.9062 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.113e-05/0.9539, allocations: 0 / 1.267 GB, free: 4.934 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.003734/0.9576, allocations: 2.746 MB / 1.27 GB, free: 19.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9577, allocations: 9.312 kB / 1.27 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.959, allocations: 374.3 kB / 1.27 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.9616, allocations: 1.89 MB / 1.272 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.9617, allocations: 64.91 kB / 1.272 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9618, allocations: 77.66 kB / 1.272 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.9632, allocations: 0.9446 MB / 1.273 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.9633, allocations: 5.812 kB / 1.273 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.9634, allocations: 30.81 kB / 1.273 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.9634, allocations: 27.34 kB / 1.273 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.9647, allocations: 0.6951 MB / 1.274 GB, free: 18.62 MB / 1.014 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.005348/0.97, allocations: 4.485 MB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.9704, allocations: 312.2 kB / 1.279 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.9707, allocations: 178.5 kB / 1.279 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.9709, allocations: 94.81 kB / 1.279 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.9709, allocations: 37.88 kB / 1.279 GB, free: 16.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.9709, allocations: 0 / 1.279 GB, free: 16.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002815/0.9737, allocations: 1.717 MB / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.9738, allocations: 55 kB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/0.9781, allocations: 2.976 MB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.9781, allocations: 35.8 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007063/0.9788, allocations: 1.055 MB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.979, allocations: 116.7 kB / 1.285 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.9791, allocations: 110.4 kB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9792, allocations: 324.6 kB / 1.285 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.9795, allocations: 166.3 kB / 1.285 GB, free: 14.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.9798, allocations: 369.3 kB / 1.286 GB, free: 14.51 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.001864/0.9816, allocations: 1.077 MB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.9817, allocations: 6.156 kB / 1.287 GB, free: 14.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001196/0.9829, allocations: 0.804 MB / 1.288 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9829, allocations: 11.38 kB / 1.288 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.9829, allocations: 6.719 kB / 1.288 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.9831, allocations: 63.42 kB / 1.288 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.9834, allocations: 102.9 kB / 1.288 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.985, allocations: 1.856 MB / 1.29 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.986, allocations: 48.56 kB / 1.29 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.9861, allocations: 24.84 kB / 1.29 GB, free: 12.5 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.001033/0.9871, allocations: 0.7942 MB / 1.29 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.9874, allocations: 235 kB / 1.291 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.9879, allocations: 253.5 kB / 1.291 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.9879, allocations: 4 kB / 1.291 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9879, allocations: 3.984 kB / 1.291 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006706/0.9886, allocations: 0.5965 MB / 1.292 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.992, allocations: 2.052 MB / 1.294 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.992, allocations: 3.625 kB / 1.294 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.9923, allocations: 71.53 kB / 1.294 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.9924, allocations: 59.64 kB / 1.294 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.9924, allocations: 9.188 kB / 1.294 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.9938, allocations: 1.866 MB / 1.295 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.9938, allocations: 7.438 kB / 1.295 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.9949, allocations: 0.9301 MB / 1.296 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.9957, allocations: 411.2 kB / 1.297 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/0.996, allocations: 12.95 kB / 1.297 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.9968, allocations: 25.66 kB / 1.297 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.9969, allocations: 34.09 kB / 1.297 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.9969, allocations: 21.97 kB / 1.297 GB, free: 9.281 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002972/0.9999, allocations: 2.101 MB / 1.299 GB, free: 9.137 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9999, allocations: 0 / 1.299 GB, free: 9.137 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001147/1.001, allocations: 305 kB / 1.299 GB, free: 9.133 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.0003839/1.001, allocations: 176.8 kB / 1.299 GB, free: 9.035 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008128/1.002, allocations: 0.5422 MB / 1.3 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.002, allocations: 0 / 1.3 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/1.003, allocations: 304.9 kB / 1.3 GB, free: 8.801 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.006, allocations: 0.9619 MB / 1.301 GB, free: 8.664 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/1.012, allocations: 4.771 MB / 1.306 GB, free: 6.641 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/1.014, allocations: 1.957 MB / 1.308 GB, free: 5.875 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00129/1.015, allocations: 387.8 kB / 1.308 GB, free: 5.809 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.015, allocations: 116.3 kB / 1.308 GB, free: 5.801 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.015, allocations: 4 kB / 1.308 GB, free: 5.797 MB / 1.014 GB Notification: Performance of Templates: time 0.04632/1.062, allocations: 30.28 MB / 1.338 GB, free: 13.83 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)