Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009656/0.0009656, 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.0009724/0.0009726, allocations: 193.3 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.178/1.178, 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.437/2.437, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 65.77 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2379, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1595/0.3974, allocations: 176.8 MB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4834/0.8808, allocations: 10.83 MB / 1.251 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.8829, allocations: 77.19 kB / 1.251 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.8874, allocations: 1.878 MB / 1.253 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.8909, allocations: 1.483 MB / 1.254 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.8926, allocations: 0.7199 MB / 1.255 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003592/0.8962, allocations: 3.153 MB / 1.258 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8975, allocations: 1.312 MB / 1.259 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.899, allocations: 1.116 MB / 1.26 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.9007, allocations: 1.154 MB / 1.262 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.9009, allocations: 129.6 kB / 1.262 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.9026, allocations: 0.9526 MB / 1.263 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.9031, allocations: 489.2 kB / 1.263 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009326/0.904, allocations: 1.096 MB / 1.264 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.9074, allocations: 3.274 MB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9074, allocations: 0 / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9074, allocations: 2.594 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.147e-05/0.9075, allocations: 0.6562 kB / 1.267 GB, free: 5.004 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.003681/0.9112, allocations: 2.746 MB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.9112, allocations: 10.31 kB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.9125, allocations: 370.5 kB / 1.27 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.9154, allocations: 1.9 MB / 1.272 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.9155, allocations: 56.78 kB / 1.272 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.9156, allocations: 77.98 kB / 1.272 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.917, allocations: 0.9376 MB / 1.273 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.917, allocations: 1.062 kB / 1.273 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.9171, allocations: 39.16 kB / 1.273 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.9171, allocations: 26.58 kB / 1.273 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.9185, allocations: 0.7011 MB / 1.274 GB, free: 18.69 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.005282/0.9237, allocations: 4.487 MB / 1.278 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.9242, allocations: 312.7 kB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.9244, allocations: 179 kB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.9246, allocations: 98.44 kB / 1.279 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.9246, allocations: 37.44 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.9246, allocations: 0.8438 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002702/0.9273, allocations: 1.71 MB / 1.281 GB, free: 15.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.9274, allocations: 55.41 kB / 1.281 GB, free: 15.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/0.9308, allocations: 2.975 MB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.9308, allocations: 32.77 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000674/0.9315, allocations: 1.057 MB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.9316, allocations: 114.5 kB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.9317, allocations: 109.4 kB / 1.285 GB, free: 15.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.9318, allocations: 329.2 kB / 1.285 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.9321, allocations: 162.8 kB / 1.285 GB, free: 14.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.9324, allocations: 371.9 kB / 1.286 GB, free: 14.58 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.001792/0.9342, allocations: 1.082 MB / 1.287 GB, free: 14.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9342, allocations: 1.062 kB / 1.287 GB, free: 14.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001018/0.9352, allocations: 0.7986 MB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9352, allocations: 9.406 kB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.9352, allocations: 7.906 kB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.9354, allocations: 62.64 kB / 1.288 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.9357, allocations: 103.3 kB / 1.288 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.9371, allocations: 1.865 MB / 1.29 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/0.9381, allocations: 44.94 kB / 1.29 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.9381, allocations: 24.31 kB / 1.29 GB, free: 12.57 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.0009169/0.939, allocations: 0.7988 MB / 1.29 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.9393, allocations: 237.8 kB / 1.291 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.9396, allocations: 257.8 kB / 1.291 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.9396, allocations: 2.469 kB / 1.291 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9396, allocations: 2.281 kB / 1.291 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006049/0.9402, allocations: 0.5964 MB / 1.292 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.9428, allocations: 2.048 MB / 1.294 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9429, allocations: 4.156 kB / 1.294 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.9431, allocations: 66.72 kB / 1.294 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.9433, allocations: 55.45 kB / 1.294 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.9433, allocations: 13.09 kB / 1.294 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.9448, allocations: 1.869 MB / 1.295 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9448, allocations: 7.016 kB / 1.295 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.946, allocations: 0.9286 MB / 1.296 GB, free: 9.578 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/0.9466, allocations: 413.8 kB / 1.297 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.9469, allocations: 9.594 kB / 1.297 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.9475, allocations: 25.8 kB / 1.297 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.9476, allocations: 34.47 kB / 1.297 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.9476, allocations: 13.89 kB / 1.297 GB, free: 9.355 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002795/0.9504, allocations: 2.105 MB / 1.299 GB, free: 9.211 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9504, allocations: 0.75 kB / 1.299 GB, free: 9.211 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001103/0.9515, allocations: 303.8 kB / 1.299 GB, free: 9.207 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.0003914/0.9519, allocations: 179.7 kB / 1.299 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008212/0.9527, allocations: 0.5396 MB / 1.3 GB, free: 8.996 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9528, allocations: 1.375 kB / 1.3 GB, free: 8.996 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.9531, allocations: 304.7 kB / 1.3 GB, free: 8.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.9563, allocations: 0.9637 MB / 1.301 GB, free: 8.742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.9619, allocations: 4.769 MB / 1.306 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.9633, allocations: 1.952 MB / 1.308 GB, free: 5.953 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001369/0.9647, allocations: 395.8 kB / 1.308 GB, free: 5.879 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.9649, allocations: 121.4 kB / 1.308 GB, free: 5.867 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.9649, allocations: 0 / 1.308 GB, free: 5.867 MB / 1.014 GB Notification: Performance of Templates: time 0.04461/1.01, allocations: 30.27 MB / 1.338 GB, free: 13.88 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)