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.0009322/0.0009323, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009177/0.0009177, allocations: 194.9 kB / 16.14 MB, free: 6.656 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.45/2.45, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 62.55 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2421, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1592/0.4013, allocations: 176.9 MB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5015/0.9028, allocations: 10.93 MB / 1.251 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.9057, allocations: 76.22 kB / 1.251 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005604/0.9113, allocations: 1.844 MB / 1.253 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.915, allocations: 1.488 MB / 1.254 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.9167, allocations: 0.708 MB / 1.255 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003719/0.9204, allocations: 3.706 MB / 1.259 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.9216, allocations: 1.156 MB / 1.26 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.923, allocations: 0.9952 MB / 1.261 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.9246, allocations: 1.115 MB / 1.262 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.9248, allocations: 84.53 kB / 1.262 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.9265, allocations: 1.009 MB / 1.263 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.9269, allocations: 433.8 kB / 1.263 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008297/0.9277, allocations: 1.047 MB / 1.264 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.9304, allocations: 3.107 MB / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9304, allocations: 2 kB / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9304, allocations: 0 / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.9304, allocations: 2.438 kB / 1.267 GB, free: 5.312 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.003438/0.9339, allocations: 2.704 MB / 1.27 GB, free: 19.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.9339, allocations: 8.781 kB / 1.27 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.9352, allocations: 376.7 kB / 1.27 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.9376, allocations: 1.886 MB / 1.272 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.9377, allocations: 58.03 kB / 1.272 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.9378, allocations: 77.25 kB / 1.272 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.9392, allocations: 0.9409 MB / 1.273 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.9392, allocations: 1.125 kB / 1.273 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.9393, allocations: 31.38 kB / 1.273 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.9393, allocations: 34.36 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.9406, allocations: 0.7003 MB / 1.274 GB, free: 18.98 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.004971/0.9456, allocations: 4.485 MB / 1.278 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.946, allocations: 316.9 kB / 1.279 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.9462, allocations: 178.7 kB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.9464, allocations: 97.61 kB / 1.279 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.9464, allocations: 40.33 kB / 1.279 GB, free: 16.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.9464, allocations: 0.9375 kB / 1.279 GB, free: 16.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002472/0.9489, allocations: 1.708 MB / 1.281 GB, free: 16.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.9489, allocations: 55.41 kB / 1.281 GB, free: 15.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.9521, allocations: 2.973 MB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.9522, allocations: 32.02 kB / 1.284 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/0.9529, allocations: 1.056 MB / 1.285 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/0.953, allocations: 118.2 kB / 1.285 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.9531, allocations: 114.5 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.9532, allocations: 328.2 kB / 1.285 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.9535, allocations: 165.1 kB / 1.285 GB, free: 15.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.9538, allocations: 367.4 kB / 1.286 GB, free: 14.84 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.00186/0.9557, allocations: 1.088 MB / 1.287 GB, free: 14.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.9557, allocations: 1.5 kB / 1.287 GB, free: 14.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001038/0.9567, allocations: 0.7941 MB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9567, allocations: 7.656 kB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.9567, allocations: 6.203 kB / 1.288 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.9569, allocations: 69.28 kB / 1.288 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.9573, allocations: 103 kB / 1.288 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.9586, allocations: 1.681 MB / 1.289 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.9594, allocations: 43.12 kB / 1.289 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.9595, allocations: 30.75 kB / 1.289 GB, free: 12.94 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.0008542/0.9603, allocations: 0.7874 MB / 1.29 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.9606, allocations: 239 kB / 1.29 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.9609, allocations: 253.6 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9609, allocations: 3.469 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.9609, allocations: 1.062 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006266/0.9615, allocations: 0.5972 MB / 1.291 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.9643, allocations: 2.053 MB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.9643, allocations: 2.938 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.9646, allocations: 59.09 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.9647, allocations: 65.75 kB / 1.293 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.9648, allocations: 8.844 kB / 1.293 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.966, allocations: 1.694 MB / 1.295 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.966, allocations: 6.25 kB / 1.295 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009538/0.967, allocations: 0.9262 MB / 1.296 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005048/0.9675, allocations: 408.4 kB / 1.296 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.9677, allocations: 19.62 kB / 1.296 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.9683, allocations: 26.89 kB / 1.296 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.9683, allocations: 32.88 kB / 1.296 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.9684, allocations: 18.75 kB / 1.296 GB, free: 9.863 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002434/0.9708, allocations: 2.099 MB / 1.298 GB, free: 9.719 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9708, allocations: 1.062 kB / 1.298 GB, free: 9.719 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000971/0.9718, allocations: 302.2 kB / 1.299 GB, free: 9.719 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.0003786/0.9722, allocations: 178 kB / 1.299 GB, free: 9.609 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.9729, allocations: 0.5113 MB / 1.299 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9729, allocations: 4.781 kB / 1.299 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.9732, allocations: 303.2 kB / 1.3 GB, free: 9.375 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.9763, allocations: 0.8853 MB / 1.301 GB, free: 9.285 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.9811, allocations: 4.758 MB / 1.305 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.9824, allocations: 1.955 MB / 1.307 GB, free: 6.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008721/0.9833, allocations: 335.7 kB / 1.307 GB, free: 6.352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.9834, allocations: 101.2 kB / 1.308 GB, free: 6.344 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.9834, allocations: 0 / 1.308 GB, free: 6.344 MB / 1.014 GB Notification: Performance of Templates: time 0.03904/1.022, allocations: 28.68 MB / 1.336 GB, free: 14.16 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)