Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.003902/0.003902, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.0009695/0.0009696, allocations: 197 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.7 MB / 0.5094 GB, free: 2.949 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 75.89 kB / 0.7259 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1751, allocations: 104.7 MB / 0.8281 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5316/0.7067, allocations: 179.4 MB / 1.003 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.7194, allocations: 10.99 MB / 1.014 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.7212, allocations: 86.34 kB / 1.014 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.7255, allocations: 2.001 MB / 1.016 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.7287, allocations: 1.619 MB / 1.018 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.7303, allocations: 0.8151 MB / 1.018 GB, free: 5.414 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002703/0.733, allocations: 3.194 MB / 1.022 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.7342, allocations: 1.328 MB / 1.023 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.7354, allocations: 1.125 MB / 1.024 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.7368, allocations: 1.117 MB / 1.025 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.737, allocations: 132.1 kB / 1.025 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.7383, allocations: 0.9166 MB / 1.026 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.7387, allocations: 489 kB / 1.027 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008138/0.7395, allocations: 1.097 MB / 1.028 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.7423, allocations: 3.485 MB / 1.031 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7423, allocations: 4 kB / 1.031 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7423, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.7423, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003324/0.7457, allocations: 2.817 MB / 1.034 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.7457, allocations: 8.031 kB / 1.034 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.7469, allocations: 376.5 kB / 1.034 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.7496, allocations: 1.993 MB / 1.036 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.7496, allocations: 62 kB / 1.036 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.7498, allocations: 76 kB / 1.036 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.751, allocations: 0.9485 MB / 1.037 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.751, allocations: 3.938 kB / 1.037 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.7511, allocations: 32 kB / 1.037 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.7511, allocations: 25 kB / 1.037 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009578/0.7521, allocations: 0.6986 MB / 1.038 GB, free: 5.699 MB / 0.7794 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.004527/0.7566, allocations: 4.46 MB / 1.042 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.757, allocations: 314.6 kB / 1.043 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.7572, allocations: 180.7 kB / 1.043 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.7574, allocations: 93.09 kB / 1.043 GB, free: 428 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7574, allocations: 38.56 kB / 1.043 GB, free: 380 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.7574, allocations: 0 / 1.043 GB, free: 380 kB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.002378/0.7598, allocations: 1.698 MB / 1.045 GB, free: 14.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.7599, allocations: 59.41 kB / 1.045 GB, free: 14.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/0.7628, allocations: 2.949 MB / 1.047 GB, free: 11.56 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.7628, allocations: 33.7 kB / 1.047 GB, free: 11.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.7636, allocations: 1.058 MB / 1.049 GB, free: 10.46 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.7637, allocations: 114.4 kB / 1.049 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.7638, allocations: 118 kB / 1.049 GB, free: 10.22 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.7639, allocations: 322 kB / 1.049 GB, free: 9.898 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.7641, allocations: 161 kB / 1.049 GB, free: 9.742 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.7645, allocations: 378.3 kB / 1.05 GB, free: 9.289 MB / 0.795 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.001698/0.7662, allocations: 1.052 MB / 1.051 GB, free: 8.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7662, allocations: 4 kB / 1.051 GB, free: 8.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009436/0.7671, allocations: 0.7853 MB / 1.051 GB, free: 7.332 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7672, allocations: 8.125 kB / 1.051 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.7672, allocations: 8 kB / 1.051 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.7673, allocations: 64.81 kB / 1.051 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.7677, allocations: 103.8 kB / 1.052 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.769, allocations: 1.857 MB / 1.053 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.7696, allocations: 34.34 kB / 1.053 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.7697, allocations: 24 kB / 1.053 GB, free: 5.098 MB / 0.795 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.0007596/0.7704, allocations: 0.7964 MB / 1.054 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.7706, allocations: 233.1 kB / 1.054 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.7709, allocations: 251.7 kB / 1.055 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.7709, allocations: 0 / 1.055 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7709, allocations: 4.125 kB / 1.055 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005596/0.7715, allocations: 0.593 MB / 1.055 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.7739, allocations: 2.054 MB / 1.057 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.774, allocations: 3.938 kB / 1.057 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.7743, allocations: 63.91 kB / 1.057 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.7744, allocations: 56.83 kB / 1.057 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.7744, allocations: 12.39 kB / 1.057 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.7756, allocations: 1.865 MB / 1.059 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.7757, allocations: 7.938 kB / 1.059 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.7766, allocations: 0.9409 MB / 1.06 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.7772, allocations: 410.1 kB / 1.061 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7774, allocations: 11.98 kB / 1.061 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.778, allocations: 12.12 kB / 1.061 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.778, allocations: 35.78 kB / 1.061 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.7781, allocations: 23.98 kB / 1.061 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002192/0.7803, allocations: 2.087 MB / 1.063 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.7803, allocations: 0 / 1.063 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008208/0.7811, allocations: 304 kB / 1.063 GB, free: 10.93 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.U,air.vol.dynBal.mXi[1]) * 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.0003252/0.7814, allocations: 161.4 kB / 1.063 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007154/0.7821, allocations: 0.5216 MB / 1.064 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.7822, allocations: 4 kB / 1.064 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.7825, allocations: 300.8 kB / 1.064 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/0.7855, allocations: 0.9641 MB / 1.065 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.7899, allocations: 4.136 MB / 1.069 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.7912, allocations: 1.961 MB / 1.071 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.7919, allocations: 330.7 kB / 1.071 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.7921, allocations: 111.4 kB / 1.071 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.7921, allocations: 0 / 1.071 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Templates: time 0.04113/0.8332, allocations: 30.05 MB / 1.101 GB, free: 4.789 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)