Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001602/0.001602, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001993/0.001993, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.573/1.573, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 292.3 MB / 0.5495 GB, free: 17.63 MB / 462.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.001454/0.001455, allocations: 67.91 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 114.5 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6966/0.9662, allocations: 179.2 MB / 0.9591 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.9842, allocations: 10.94 MB / 0.9697 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/0.988, allocations: 79.56 kB / 0.9698 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006296/0.9943, allocations: 2 MB / 0.9718 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0057/1, allocations: 1.604 MB / 0.9733 GB, free: 8.672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/1.003, allocations: 0.7899 MB / 0.9741 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00503/1.008, allocations: 3.092 MB / 0.9771 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/1.01, allocations: 1.305 MB / 0.9784 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/1.012, allocations: 1.093 MB / 0.9795 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/1.014, allocations: 1.122 MB / 0.9806 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/1.014, allocations: 132 kB / 0.9807 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/1.016, allocations: 0.916 MB / 0.9816 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/1.016, allocations: 478.2 kB / 0.982 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/1.018, allocations: 1.092 MB / 0.9831 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003999/1.022, allocations: 3.205 MB / 0.9862 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/1.022, allocations: 4 kB / 0.9862 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/1.022, allocations: 0 / 0.9862 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.062e-05/1.022, allocations: 0 / 0.9862 GB, free: 11.42 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004106/1.026, allocations: 2.746 MB / 0.9889 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.026, allocations: 8.031 kB / 0.9889 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.027, allocations: 374.5 kB / 0.9893 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/1.03, allocations: 1.88 MB / 0.9911 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/1.03, allocations: 56.25 kB / 0.9912 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.03, allocations: 80 kB / 0.9913 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.032, allocations: 0.9407 MB / 0.9922 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/1.032, allocations: 3.938 kB / 0.9922 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/1.032, allocations: 36 kB / 0.9922 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/1.032, allocations: 28.94 kB / 0.9922 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.033, allocations: 0.6947 MB / 0.9929 GB, free: 4.418 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.005908/1.039, allocations: 4.491 MB / 0.9973 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/1.04, allocations: 314.6 kB / 0.9976 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.04, allocations: 184.8 kB / 0.9978 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/1.04, allocations: 93.09 kB / 0.9979 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/1.04, allocations: 40.31 kB / 0.9979 GB, free: 15.05 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 3.687e-06/1.04, allocations: 3.984 kB / 0.9979 GB, free: 15.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.003128/1.043, allocations: 1.698 MB / 0.9996 GB, free: 13.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/1.043, allocations: 55.41 kB / 0.9996 GB, free: 13.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/1.047, allocations: 2.968 MB / 1.003 GB, free: 10.22 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/1.047, allocations: 33.7 kB / 1.003 GB, free: 10.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.048, allocations: 1.046 MB / 1.004 GB, free: 9.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.048, allocations: 114.4 kB / 1.004 GB, free: 9.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/1.049, allocations: 114.1 kB / 1.004 GB, free: 8.898 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.049, allocations: 327.5 kB / 1.004 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/1.049, allocations: 161 kB / 1.004 GB, free: 8.418 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/1.049, allocations: 378.8 kB / 1.005 GB, free: 7.961 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.002121/1.052, allocations: 1.067 MB / 1.006 GB, free: 6.793 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.052, allocations: 7.375 kB / 1.006 GB, free: 6.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001305/1.053, allocations: 0.7969 MB / 1.006 GB, free: 5.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.053, allocations: 9.875 kB / 1.006 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.053, allocations: 11.98 kB / 1.006 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/1.053, allocations: 56.83 kB / 1.007 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.054, allocations: 99.83 kB / 1.007 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/1.055, allocations: 1.861 MB / 1.008 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/1.056, allocations: 31.98 kB / 1.008 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/1.056, allocations: 28.94 kB / 1.008 GB, free: 3.746 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.001257/1.058, allocations: 0.7911 MB / 1.009 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/1.058, allocations: 233 kB / 1.009 GB, free: 2.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/1.058, allocations: 253.1 kB / 1.01 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.058, allocations: 4 kB / 1.01 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.058, allocations: 4 kB / 1.01 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008463/1.059, allocations: 0.6055 MB / 1.01 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/1.063, allocations: 2.044 MB / 1.012 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.063, allocations: 7.984 kB / 1.012 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/1.063, allocations: 75.81 kB / 1.012 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/1.063, allocations: 52.83 kB / 1.012 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/1.063, allocations: 12 kB / 1.012 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.065, allocations: 1.858 MB / 1.014 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.065, allocations: 3.938 kB / 1.014 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.067, allocations: 0.9484 MB / 1.015 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/1.067, allocations: 414 kB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.068, allocations: 8 kB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/1.068, allocations: 18.61 kB / 1.016 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/1.068, allocations: 39.66 kB / 1.016 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/1.068, allocations: 16 kB / 1.016 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003283/1.072, allocations: 2.094 MB / 1.018 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/1.072, allocations: 0 / 1.018 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001215/1.073, allocations: 304 kB / 1.018 GB, free: 9.574 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.0005367/1.073, allocations: 183.8 kB / 1.018 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.075, allocations: 0.5396 MB / 1.019 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.075, allocations: 4 kB / 1.019 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004062/1.075, allocations: 303 kB / 1.019 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/1.079, allocations: 0.9492 MB / 1.02 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/1.087, allocations: 3.981 MB / 1.024 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.089, allocations: 1.816 MB / 1.026 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/1.089, allocations: 103.4 kB / 1.026 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of SimCode: time 2.033e-06/1.089, allocations: 0 / 1.026 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of Templates: time 0.06094/1.15, allocations: 42.81 MB / 1.068 GB, free: 7.145 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)