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.001144/0.001144, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 196.2 kB / 16.64 MB, free: 6.59 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.175/1.175, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.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.504/1.504, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001262/0.001262, allocations: 71.31 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 114.6 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4741/0.6473, allocations: 179.2 MB / 0.9592 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.6597, allocations: 10.94 MB / 0.9698 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.6625, allocations: 82.34 kB / 0.9699 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005323/0.6678, allocations: 1.995 MB / 0.9719 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.672, allocations: 1.605 MB / 0.9734 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.6738, allocations: 0.7903 MB / 0.9742 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003492/0.6773, allocations: 3.122 MB / 0.9773 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.6787, allocations: 1.306 MB / 0.9785 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.6803, allocations: 1.098 MB / 0.9796 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.6818, allocations: 1.102 MB / 0.9807 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.682, allocations: 128.3 kB / 0.9808 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.6836, allocations: 0.9217 MB / 0.9817 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.684, allocations: 477 kB / 0.9822 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008656/0.6848, allocations: 1.093 MB / 0.9832 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.6876, allocations: 3.239 MB / 0.9864 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6876, allocations: 0 / 0.9864 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6876, allocations: 0 / 0.9864 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.6877, allocations: 2.719 kB / 0.9864 GB, free: 9.809 MB / 0.7325 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.00314/0.6908, allocations: 2.728 MB / 0.9891 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6909, allocations: 17.55 kB / 0.9891 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.692, allocations: 370.9 kB / 0.9894 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.6946, allocations: 1.995 MB / 0.9914 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.6946, allocations: 62.72 kB / 0.9914 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.6947, allocations: 74.41 kB / 0.9915 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.6959, allocations: 0.9382 MB / 0.9924 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6959, allocations: 2.688 kB / 0.9924 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.696, allocations: 30.84 kB / 0.9925 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.696, allocations: 27.86 kB / 0.9925 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.6969, allocations: 0.6967 MB / 0.9932 GB, free: 5.273 MB / 0.7325 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.004413/0.7013, allocations: 4.442 MB / 0.9975 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.7018, allocations: 328.4 kB / 0.9978 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.702, allocations: 180.7 kB / 0.998 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.7021, allocations: 95.72 kB / 0.9981 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7022, allocations: 38.5 kB / 0.9981 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.7022, allocations: 2.656 kB / 0.9981 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.002405/0.7046, allocations: 1.7 MB / 0.9998 GB, free: 112 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.7046, allocations: 53.75 kB / 0.9998 GB, free: 48 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/0.7075, allocations: 2.936 MB / 1.003 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.7076, allocations: 38.95 kB / 1.003 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000802/0.7084, allocations: 1.051 MB / 1.004 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.7085, allocations: 119.4 kB / 1.004 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.7086, allocations: 111.8 kB / 1.004 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7087, allocations: 330.5 kB / 1.004 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.709, allocations: 161.5 kB / 1.004 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.7093, allocations: 368.2 kB / 1.005 GB, free: 12.68 MB / 0.7481 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.001724/0.711, allocations: 1.074 MB / 1.006 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.711, allocations: 6.875 kB / 1.006 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009692/0.712, allocations: 0.7942 MB / 1.007 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.712, allocations: 8 kB / 1.007 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7121, allocations: 4.688 kB / 1.007 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.7122, allocations: 64.09 kB / 1.007 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.7125, allocations: 102.5 kB / 1.007 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.7139, allocations: 1.867 MB / 1.009 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.7147, allocations: 31.27 kB / 1.009 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.7147, allocations: 24.12 kB / 1.009 GB, free: 9.621 MB / 0.7481 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.0008313/0.7155, allocations: 0.7948 MB / 1.009 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.7158, allocations: 233.3 kB / 1.01 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.716, allocations: 249.6 kB / 1.01 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.716, allocations: 9.219 kB / 1.01 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7161, allocations: 0 / 1.01 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005782/0.7166, allocations: 0.6046 MB / 1.011 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.719, allocations: 2.031 MB / 1.012 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7191, allocations: 11.02 kB / 1.013 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.7193, allocations: 68 kB / 1.013 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.7195, allocations: 53.02 kB / 1.013 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.7195, allocations: 10.88 kB / 1.013 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.7208, allocations: 1.865 MB / 1.014 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7208, allocations: 2.688 kB / 1.014 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.7218, allocations: 0.946 MB / 1.015 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.7223, allocations: 408.4 kB / 1.016 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.7225, allocations: 8.656 kB / 1.016 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.723, allocations: 23.61 kB / 1.016 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.723, allocations: 32.12 kB / 1.016 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.7231, allocations: 10.78 kB / 1.016 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002237/0.7253, allocations: 2.088 MB / 1.018 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.7253, allocations: 0 / 1.018 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008459/0.7262, allocations: 296.2 kB / 1.018 GB, free: 2.957 MB / 0.7481 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.0004021/0.7266, allocations: 181.1 kB / 1.018 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007975/0.7274, allocations: 0.5349 MB / 1.019 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7274, allocations: 4.062 kB / 1.019 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.7277, allocations: 299.5 kB / 1.019 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7307, allocations: 0.953 MB / 1.02 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.7353, allocations: 4.11 MB / 1.024 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.7367, allocations: 1.949 MB / 1.026 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001068/0.7378, allocations: 350.6 kB / 1.026 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.738, allocations: 103.4 kB / 1.026 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/0.738, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of Templates: time 0.04353/0.7815, allocations: 29.7 MB / 1.055 GB, free: 15.69 MB / 0.795 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)