Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.023/2.023, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 0.7948 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 103.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001123, allocations: 51.91 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2095, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1373/0.3469, allocations: 176.9 MB / 1.391 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.3609, allocations: 10.93 MB / 1.401 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.3635, allocations: 79.5 kB / 1.402 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.3681, allocations: 1.851 MB / 1.403 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.3716, allocations: 1.481 MB / 1.405 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.3733, allocations: 0.7159 MB / 1.406 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.3769, allocations: 3.744 MB / 1.409 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.3781, allocations: 1.16 MB / 1.41 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.3793, allocations: 1.003 MB / 1.411 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.3811, allocations: 1.116 MB / 1.412 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.3813, allocations: 80 kB / 1.412 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.3832, allocations: 1.005 MB / 1.413 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.3836, allocations: 438 kB / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0008987/0.3845, allocations: 1.041 MB / 1.415 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002837/0.3873, allocations: 3.099 MB / 1.418 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3873, allocations: 4 kB / 1.418 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3873, allocations: 0 / 1.418 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.3874, allocations: 0 / 1.418 GB, free: 7.875 MB / 0.9167 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.003639/0.391, allocations: 2.704 MB / 1.421 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.391, allocations: 15.98 kB / 1.421 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.3922, allocations: 384.4 kB / 1.421 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.3948, allocations: 1.876 MB / 1.423 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.3949, allocations: 58 kB / 1.423 GB, free: 2.711 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.395, allocations: 80 kB / 1.423 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.3962, allocations: 0.9406 MB / 1.424 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3962, allocations: 0 / 1.424 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.3963, allocations: 32 kB / 1.424 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.3963, allocations: 32.92 kB / 1.424 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/0.3973, allocations: 0.7025 MB / 1.425 GB, free: 0.8789 MB / 0.9167 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.4455/0.8428, allocations: 4.475 MB / 1.429 GB, free: 203.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.8433, allocations: 311.3 kB / 1.429 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.8436, allocations: 184.6 kB / 1.429 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.8438, allocations: 101.6 kB / 1.429 GB, free: 203 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.8438, allocations: 40.89 kB / 1.43 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.745e-06/0.8438, allocations: 0 / 1.43 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=32): time 0.002863/0.8467, allocations: 1.695 MB / 1.431 GB, free: 202 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.8467, allocations: 63.23 kB / 1.431 GB, free: 201.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.8505, allocations: 2.972 MB / 1.434 GB, free: 201 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.8505, allocations: 33.02 kB / 1.434 GB, free: 200.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/0.8513, allocations: 1.06 MB / 1.435 GB, free: 200.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.8514, allocations: 116.1 kB / 1.435 GB, free: 200 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.8515, allocations: 111.6 kB / 1.435 GB, free: 199.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.8516, allocations: 326 kB / 1.436 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.8518, allocations: 163.5 kB / 1.436 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.8522, allocations: 370.9 kB / 1.436 GB, free: 199.3 MB / 0.9167 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.001948/0.8541, allocations: 1.085 MB / 1.437 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8541, allocations: 4.219 kB / 1.437 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001165/0.8553, allocations: 0.7887 MB / 1.438 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.8554, allocations: 14.31 kB / 1.438 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8554, allocations: 7.156 kB / 1.438 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.8556, allocations: 63.27 kB / 1.438 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.8559, allocations: 99.33 kB / 1.438 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.8571, allocations: 1.681 MB / 1.44 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.858, allocations: 47.8 kB / 1.44 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.8581, allocations: 25.42 kB / 1.44 GB, free: 196.7 MB / 0.9167 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.00107/0.8592, allocations: 0.801 MB / 1.441 GB, free: 196.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8594, allocations: 232.9 kB / 1.441 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.8598, allocations: 254.2 kB / 1.441 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8598, allocations: 4.391 kB / 1.441 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.8598, allocations: 1.719 kB / 1.441 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005804/0.8604, allocations: 0.6049 MB / 1.442 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.8636, allocations: 2.043 MB / 1.444 GB, free: 194.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8636, allocations: 6.781 kB / 1.444 GB, free: 194.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.8639, allocations: 67.36 kB / 1.444 GB, free: 194.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.864, allocations: 65.92 kB / 1.444 GB, free: 194.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.8641, allocations: 11.62 kB / 1.444 GB, free: 194.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.8652, allocations: 1.671 MB / 1.446 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8652, allocations: 4.562 kB / 1.446 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/0.8727, allocations: 6.854 MB / 1.452 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/0.8734, allocations: 414.2 kB / 1.453 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.8736, allocations: 18.81 kB / 1.453 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.8742, allocations: 25.94 kB / 1.453 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.8743, allocations: 27.5 kB / 1.453 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.8743, allocations: 16.39 kB / 1.453 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002512/0.8768, allocations: 2.106 MB / 1.455 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8768, allocations: 0 / 1.455 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001422/0.8782, allocations: 0.5064 MB / 1.455 GB, free: 187.6 MB / 0.9167 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.0003701/0.8786, allocations: 187.7 kB / 1.455 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008178/0.8794, allocations: 0.5273 MB / 1.456 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8795, allocations: 1.125 kB / 1.456 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.8798, allocations: 301.9 kB / 1.456 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/0.8833, allocations: 0.8856 MB / 1.457 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.8896, allocations: 5.157 MB / 1.462 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.8908, allocations: 1.956 MB / 1.464 GB, free: 182 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001141/0.8919, allocations: 350.2 kB / 1.464 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.8921, allocations: 108.2 kB / 1.465 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.8921, allocations: 0 / 1.465 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.03889/0.931, allocations: 29.84 MB / 1.494 GB, free: 153 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)