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.004575/0.004575, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.00108/0.00108, allocations: 197.3 kB / 16.68 MB, free: 5.961 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.146/1.146, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.328/1.328, allocations: 251.7 MB / 0.5094 GB, free: 2.965 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.001361/0.001361, allocations: 71.89 kB / 0.7259 GB, free: 8.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1621, allocations: 104.7 MB / 0.8281 GB, free: 52 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5/0.6621, allocations: 179.4 MB / 1.003 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6755, allocations: 10.99 MB / 1.014 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.6781, allocations: 93.88 kB / 1.014 GB, free: 8.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004993/0.6832, allocations: 1.995 MB / 1.016 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.6872, allocations: 1.626 MB / 1.018 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.6892, allocations: 0.8117 MB / 1.018 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003585/0.6928, allocations: 3.193 MB / 1.022 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.6944, allocations: 1.33 MB / 1.023 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.6962, allocations: 1.167 MB / 1.024 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.6981, allocations: 1.113 MB / 1.025 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.6983, allocations: 130.9 kB / 1.025 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.6997, allocations: 0.9144 MB / 1.026 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.7001, allocations: 488.8 kB / 1.027 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008412/0.7009, allocations: 1.1 MB / 1.028 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.7038, allocations: 3.485 MB / 1.031 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7038, allocations: 4 kB / 1.031 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7039, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.7039, allocations: 0 / 1.031 GB, free: 12.83 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.003321/0.7072, allocations: 2.813 MB / 1.034 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7072, allocations: 16.02 kB / 1.034 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.7084, allocations: 368.5 kB / 1.034 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.7113, allocations: 2.001 MB / 1.036 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.7113, allocations: 58 kB / 1.036 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.7114, allocations: 76 kB / 1.036 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.7126, allocations: 0.9446 MB / 1.037 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.7127, allocations: 4 kB / 1.037 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.7127, allocations: 32 kB / 1.037 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.7128, allocations: 28.94 kB / 1.037 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.7137, allocations: 0.7025 MB / 1.038 GB, free: 5.617 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.00469/0.7184, allocations: 4.46 MB / 1.042 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.7188, allocations: 306.6 kB / 1.043 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.719, allocations: 180.8 kB / 1.043 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.7192, allocations: 101 kB / 1.043 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.7192, allocations: 38.56 kB / 1.043 GB, free: 296 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.7192, allocations: 0 / 1.043 GB, free: 296 kB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.002387/0.7216, allocations: 1.694 MB / 1.045 GB, free: 14.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.7216, allocations: 55.41 kB / 1.045 GB, free: 14.45 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.7246, allocations: 2.953 MB / 1.048 GB, free: 11.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.7246, allocations: 29.7 kB / 1.048 GB, free: 11.45 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007763/0.7254, allocations: 1.058 MB / 1.049 GB, free: 10.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.7255, allocations: 118.4 kB / 1.049 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.7257, allocations: 118 kB / 1.049 GB, free: 10.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.7258, allocations: 326 kB / 1.049 GB, free: 9.816 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.726, allocations: 161 kB / 1.049 GB, free: 9.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.7263, allocations: 370.4 kB / 1.05 GB, free: 9.215 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.001692/0.728, allocations: 1.059 MB / 1.051 GB, free: 8.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.728, allocations: 4 kB / 1.051 GB, free: 8.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009737/0.729, allocations: 0.785 MB / 1.051 GB, free: 7.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.729, allocations: 8 kB / 1.051 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.729, allocations: 8 kB / 1.051 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.7292, allocations: 56.81 kB / 1.051 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.7295, allocations: 103.8 kB / 1.052 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.7308, allocations: 1.866 MB / 1.053 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.7315, allocations: 31.83 kB / 1.053 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.7316, allocations: 24 kB / 1.053 GB, free: 5.016 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.0008121/0.7324, allocations: 0.7984 MB / 1.054 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.7326, allocations: 229.1 kB / 1.054 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.7329, allocations: 251.7 kB / 1.055 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7329, allocations: 4.062 kB / 1.055 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7329, allocations: 4.125 kB / 1.055 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005684/0.7335, allocations: 0.6009 MB / 1.055 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.736, allocations: 2.042 MB / 1.057 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.736, allocations: 8.391 kB / 1.057 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.7363, allocations: 71.91 kB / 1.057 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.7364, allocations: 52.83 kB / 1.057 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.7364, allocations: 12 kB / 1.057 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.7377, allocations: 1.853 MB / 1.059 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7378, allocations: 7.938 kB / 1.059 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.7387, allocations: 0.937 MB / 1.06 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/0.7394, allocations: 410.1 kB / 1.061 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.7395, allocations: 12 kB / 1.061 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.7401, allocations: 21.05 kB / 1.061 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.7401, allocations: 43.91 kB / 1.061 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.7402, allocations: 19.92 kB / 1.061 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002246/0.7424, allocations: 2.083 MB / 1.063 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7424, allocations: 0 / 1.063 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008048/0.7432, allocations: 304 kB / 1.063 GB, free: 10.86 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.0003177/0.7435, allocations: 168.8 kB / 1.063 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007211/0.7443, allocations: 0.5229 MB / 1.064 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7443, allocations: 4.188 kB / 1.064 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.7446, allocations: 294.4 kB / 1.064 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.7477, allocations: 0.9572 MB / 1.065 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.7522, allocations: 4.128 MB / 1.069 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.7535, allocations: 1.969 MB / 1.071 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007163/0.7542, allocations: 342.7 kB / 1.071 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.7544, allocations: 103.4 kB / 1.071 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.7544, allocations: 0 / 1.071 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of Templates: time 0.04104/0.7955, allocations: 30.54 MB / 1.101 GB, free: 4.223 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)