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.0008488/0.0008488, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004619/0.004619, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.463/2.463, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 9.5 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1642/0.4116, allocations: 174.5 MB / 1.245 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4962/0.9079, allocations: 10.79 MB / 1.255 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.9101, allocations: 73.28 kB / 1.255 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005017/0.9152, allocations: 1.844 MB / 1.257 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.9189, allocations: 1.488 MB / 1.258 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.9206, allocations: 0.7137 MB / 1.259 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.9245, allocations: 3.703 MB / 1.263 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.9258, allocations: 1.131 MB / 1.264 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.9272, allocations: 0.9635 MB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.9287, allocations: 1.068 MB / 1.266 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.9289, allocations: 68.06 kB / 1.266 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.9306, allocations: 0.9994 MB / 1.267 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.9309, allocations: 411.6 kB / 1.267 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008686/0.9318, allocations: 1.041 MB / 1.268 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.9348, allocations: 3.045 MB / 1.271 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9348, allocations: 0 / 1.271 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9348, allocations: 1.406 kB / 1.271 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.785e-05/0.9349, allocations: 3.938 kB / 1.271 GB, free: 5.844 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.003197/0.9381, allocations: 2.316 MB / 1.274 GB, free: 20.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.9381, allocations: 9.5 kB / 1.274 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.9394, allocations: 370.7 kB / 1.274 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.9419, allocations: 1.881 MB / 1.276 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.942, allocations: 60.75 kB / 1.276 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.9421, allocations: 83.5 kB / 1.276 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.9435, allocations: 0.9354 MB / 1.277 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.9435, allocations: 8.672 kB / 1.277 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.9436, allocations: 31.25 kB / 1.277 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.9436, allocations: 26.77 kB / 1.277 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.9449, allocations: 0.6968 MB / 1.278 GB, free: 19.66 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.005366/0.9503, allocations: 4.498 MB / 1.282 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.9507, allocations: 316.5 kB / 1.282 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.9509, allocations: 176 kB / 1.282 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.9511, allocations: 98.33 kB / 1.282 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.9511, allocations: 37.02 kB / 1.283 GB, free: 17.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.9511, allocations: 2.906 kB / 1.283 GB, free: 17.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002703/0.9538, allocations: 1.714 MB / 1.284 GB, free: 16.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.9539, allocations: 58.05 kB / 1.284 GB, free: 16.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.9573, allocations: 2.973 MB / 1.287 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.9574, allocations: 32.17 kB / 1.287 GB, free: 16.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/0.9581, allocations: 1.053 MB / 1.288 GB, free: 16.15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.9582, allocations: 117.6 kB / 1.288 GB, free: 16.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.9583, allocations: 49.44 kB / 1.288 GB, free: 16.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9584, allocations: 325.1 kB / 1.289 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.9586, allocations: 166.4 kB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.9589, allocations: 365.3 kB / 1.289 GB, free: 15.52 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.001813/0.9607, allocations: 1.088 MB / 1.29 GB, free: 15.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.9607, allocations: 2.469 kB / 1.29 GB, free: 15.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00102/0.9618, allocations: 0.7951 MB / 1.291 GB, free: 15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9618, allocations: 7.562 kB / 1.291 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9618, allocations: 6.844 kB / 1.291 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.962, allocations: 62.55 kB / 1.291 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.9623, allocations: 104 kB / 1.291 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.9636, allocations: 1.685 MB / 1.293 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/0.9645, allocations: 39.34 kB / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.9645, allocations: 27.25 kB / 1.293 GB, free: 13.64 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.000908/0.9655, allocations: 0.7937 MB / 1.294 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.9657, allocations: 237.4 kB / 1.294 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.966, allocations: 263 kB / 1.294 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.966, allocations: 3.188 kB / 1.294 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.966, allocations: 1.062 kB / 1.294 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005993/0.9666, allocations: 0.6001 MB / 1.295 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.9692, allocations: 2.061 MB / 1.297 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9693, allocations: 3.312 kB / 1.297 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.9696, allocations: 59.75 kB / 1.297 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.9697, allocations: 58.75 kB / 1.297 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.9697, allocations: 12.84 kB / 1.297 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.9709, allocations: 1.685 MB / 1.299 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.971, allocations: 3.562 kB / 1.299 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.972, allocations: 0.9244 MB / 1.299 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.9725, allocations: 411.5 kB / 1.3 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.9727, allocations: 18.53 kB / 1.3 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.9733, allocations: 27.44 kB / 1.3 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.9734, allocations: 32.39 kB / 1.3 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.9734, allocations: 18.66 kB / 1.3 GB, free: 10.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002646/0.9761, allocations: 2.103 MB / 1.302 GB, free: 10.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9761, allocations: 0 / 1.302 GB, free: 10.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001011/0.9771, allocations: 308.2 kB / 1.302 GB, free: 10.39 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.0003818/0.9775, allocations: 177.4 kB / 1.302 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000756/0.9783, allocations: 0.524 MB / 1.303 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9783, allocations: 1.344 kB / 1.303 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.9786, allocations: 303.1 kB / 1.303 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/0.983, allocations: 0.8846 MB / 1.304 GB, free: 9.961 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.9878, allocations: 4.849 MB / 1.309 GB, free: 7.848 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.9892, allocations: 1.956 MB / 1.311 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009158/0.9901, allocations: 337.5 kB / 1.311 GB, free: 7.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.9903, allocations: 103.8 kB / 1.311 GB, free: 7.012 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.9903, allocations: 0 / 1.311 GB, free: 7.012 MB / 1.014 GB Notification: Performance of Templates: time 0.04319/1.033, allocations: 28.48 MB / 1.339 GB, free: 13.77 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)