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.0007093/0.0007093, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003954/0.003954, allocations: 171.4 kB / 16.27 MB, free: 6.652 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.181/1.181, 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 12.0.0-master/package.mo): time 2.417/2.417, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 12.59 kB / 0.9158 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1632/0.4183, allocations: 174.5 MB / 1.245 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5074/0.9257, allocations: 10.79 MB / 1.255 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.9286, allocations: 72.19 kB / 1.255 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005089/0.9337, allocations: 1.845 MB / 1.257 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.9377, allocations: 1.486 MB / 1.258 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.9395, allocations: 0.7142 MB / 1.259 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004431/0.9439, allocations: 3.702 MB / 1.263 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.9453, allocations: 1.132 MB / 1.264 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.9468, allocations: 0.9627 MB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.9487, allocations: 1.07 MB / 1.266 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.9489, allocations: 71.34 kB / 1.266 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.9508, allocations: 0.9879 MB / 1.267 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.9512, allocations: 416.2 kB / 1.267 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009495/0.9521, allocations: 1.042 MB / 1.268 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.9554, allocations: 3.047 MB / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.9554, allocations: 0 / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9554, allocations: 0 / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.082e-05/0.9554, allocations: 4 kB / 1.271 GB, free: 5.863 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.003383/0.9588, allocations: 2.313 MB / 1.274 GB, free: 20.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9589, allocations: 9.594 kB / 1.274 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.9602, allocations: 361.7 kB / 1.274 GB, free: 20.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.9627, allocations: 1.889 MB / 1.276 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.9627, allocations: 62.58 kB / 1.276 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.9629, allocations: 72.75 kB / 1.276 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.9643, allocations: 0.9444 MB / 1.277 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.9643, allocations: 5.125 kB / 1.277 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.9644, allocations: 31.36 kB / 1.277 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.9645, allocations: 25.75 kB / 1.277 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.9657, allocations: 0.7004 MB / 1.278 GB, free: 19.68 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.005285/0.971, allocations: 4.502 MB / 1.282 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.9715, allocations: 310.1 kB / 1.282 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.9717, allocations: 178.9 kB / 1.282 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.9719, allocations: 99.41 kB / 1.282 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.9719, allocations: 37.41 kB / 1.283 GB, free: 17.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.9719, allocations: 0 / 1.283 GB, free: 17.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.00258/0.9745, allocations: 1.714 MB / 1.284 GB, free: 16.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.9745, allocations: 53.66 kB / 1.284 GB, free: 16.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.9781, allocations: 2.979 MB / 1.287 GB, free: 16.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.9781, allocations: 31.55 kB / 1.287 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007262/0.9789, allocations: 1.055 MB / 1.288 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.979, allocations: 119.9 kB / 1.288 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.979, allocations: 46.31 kB / 1.288 GB, free: 16.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9791, allocations: 328.5 kB / 1.289 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.9794, allocations: 165.8 kB / 1.289 GB, free: 15.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.9797, allocations: 366.2 kB / 1.289 GB, free: 15.54 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.001825/0.9815, allocations: 1.086 MB / 1.29 GB, free: 15.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9815, allocations: 1.594 kB / 1.29 GB, free: 15.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001022/0.9825, allocations: 0.7972 MB / 1.291 GB, free: 15.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9826, allocations: 7.281 kB / 1.291 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9826, allocations: 13.7 kB / 1.291 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.9828, allocations: 65.66 kB / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.9831, allocations: 99.73 kB / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.9844, allocations: 1.679 MB / 1.293 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.9853, allocations: 44.05 kB / 1.293 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.9854, allocations: 25.84 kB / 1.293 GB, free: 13.66 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.0009971/0.9864, allocations: 0.7915 MB / 1.294 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.9866, allocations: 237.2 kB / 1.294 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.987, allocations: 253.3 kB / 1.294 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.987, allocations: 2.625 kB / 1.294 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.987, allocations: 3.984 kB / 1.294 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006062/0.9876, allocations: 0.5983 MB / 1.295 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.9903, allocations: 2.058 MB / 1.297 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9903, allocations: 3.469 kB / 1.297 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.9906, allocations: 63.25 kB / 1.297 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.9908, allocations: 66.11 kB / 1.297 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.9908, allocations: 13.47 kB / 1.297 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.9921, allocations: 1.678 MB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.9921, allocations: 6.094 kB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009878/0.9931, allocations: 0.9195 MB / 1.299 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/0.9937, allocations: 411.9 kB / 1.3 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.9939, allocations: 20 kB / 1.3 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.9945, allocations: 24.58 kB / 1.3 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.9946, allocations: 39.64 kB / 1.3 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.9946, allocations: 15.94 kB / 1.3 GB, free: 10.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00268/0.9973, allocations: 2.101 MB / 1.302 GB, free: 10.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9973, allocations: 0 / 1.302 GB, free: 10.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001014/0.9983, allocations: 308.6 kB / 1.302 GB, free: 10.43 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.000356/0.9987, allocations: 181.3 kB / 1.302 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007353/0.9994, allocations: 0.5266 MB / 1.303 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9994, allocations: 1.406 kB / 1.303 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.9998, allocations: 298.2 kB / 1.303 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/1.004, allocations: 0.8904 MB / 1.304 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/1.009, allocations: 4.842 MB / 1.309 GB, free: 7.875 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.011, allocations: 1.951 MB / 1.311 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001044/1.012, allocations: 337.5 kB / 1.311 GB, free: 7.047 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/1.012, allocations: 111 kB / 1.311 GB, free: 7.035 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.012, allocations: 0 / 1.311 GB, free: 7.035 MB / 1.014 GB Notification: Performance of Templates: time 0.04214/1.054, allocations: 28.48 MB / 1.339 GB, free: 13.83 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)