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.0009625/0.0009626, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001033/0.001033, allocations: 190 kB / 16.25 MB, free: 6.629 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.168/1.168, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.477/1.477, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001258/0.001259, allocations: 71.98 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4758/0.6579, allocations: 176.8 MB / 0.9555 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.6702, allocations: 10.8 MB / 0.9661 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.6726, allocations: 72.59 kB / 0.9661 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.6773, allocations: 1.869 MB / 0.9679 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.6807, allocations: 1.472 MB / 0.9694 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.6823, allocations: 0.7153 MB / 0.9701 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.6853, allocations: 3.135 MB / 0.9731 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6867, allocations: 1.306 MB / 0.9744 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.6882, allocations: 1.111 MB / 0.9755 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.6898, allocations: 1.155 MB / 0.9766 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.69, allocations: 129 kB / 0.9768 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.6915, allocations: 0.9543 MB / 0.9777 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.6919, allocations: 479.3 kB / 0.9781 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.6927, allocations: 1.094 MB / 0.9792 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.6952, allocations: 3.267 MB / 0.9824 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6952, allocations: 0 / 0.9824 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6952, allocations: 0 / 0.9824 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.6953, allocations: 1.219 kB / 0.9824 GB, free: 1.742 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.003323/0.6986, allocations: 2.75 MB / 0.9851 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6986, allocations: 8.281 kB / 0.9851 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.6999, allocations: 377.6 kB / 0.9855 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.7022, allocations: 1.877 MB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.7022, allocations: 58.47 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.7023, allocations: 76.56 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.7035, allocations: 0.9363 MB / 0.9883 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.7036, allocations: 3.938 kB / 0.9883 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.7036, allocations: 32.38 kB / 0.9884 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.7037, allocations: 24.44 kB / 0.9884 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.7046, allocations: 0.6989 MB / 0.9891 GB, free: 15.36 MB / 0.7481 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.004534/0.7091, allocations: 4.483 MB / 0.9935 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.7095, allocations: 324.9 kB / 0.9938 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.7098, allocations: 181.8 kB / 0.9939 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.7099, allocations: 96.64 kB / 0.994 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.7099, allocations: 36.78 kB / 0.9941 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.71, allocations: 0 / 0.9941 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.002466/0.7124, allocations: 1.693 MB / 0.9957 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.7125, allocations: 56.12 kB / 0.9958 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.7153, allocations: 2.963 MB / 0.9987 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.7154, allocations: 37.7 kB / 0.9987 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007631/0.7161, allocations: 1.051 MB / 0.9997 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.7162, allocations: 117.2 kB / 0.9998 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.7164, allocations: 108 kB / 0.9999 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.7165, allocations: 325.4 kB / 1 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.7167, allocations: 162.6 kB / 1 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.717, allocations: 375 kB / 1.001 GB, free: 8.949 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.001682/0.7187, allocations: 1.068 MB / 1.002 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7187, allocations: 3.938 kB / 1.002 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009411/0.7197, allocations: 0.8004 MB / 1.003 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7197, allocations: 9.531 kB / 1.003 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7197, allocations: 9.703 kB / 1.003 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.7199, allocations: 60.94 kB / 1.003 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.7202, allocations: 99.56 kB / 1.003 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.7215, allocations: 1.863 MB / 1.005 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.7224, allocations: 52.28 kB / 1.005 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.7225, allocations: 22.62 kB / 1.005 GB, free: 6.191 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.0009527/0.7234, allocations: 0.7876 MB / 1.005 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.7237, allocations: 230.1 kB / 1.006 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.724, allocations: 260.5 kB / 1.006 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.724, allocations: 6.812 kB / 1.006 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.724, allocations: 6.094 kB / 1.006 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005573/0.7245, allocations: 0.6 MB / 1.006 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.727, allocations: 2.049 MB / 1.008 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7271, allocations: 6.531 kB / 1.008 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.7273, allocations: 64.38 kB / 1.009 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.7275, allocations: 59.28 kB / 1.009 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.7275, allocations: 8.719 kB / 1.009 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.7288, allocations: 1.856 MB / 1.01 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7288, allocations: 8.844 kB / 1.01 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.7297, allocations: 0.9415 MB / 1.011 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.7303, allocations: 414.3 kB / 1.012 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.7305, allocations: 9.188 kB / 1.012 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/0.731, allocations: 35.84 kB / 1.012 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.7311, allocations: 36.69 kB / 1.012 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.7311, allocations: 11.44 kB / 1.012 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002188/0.7333, allocations: 2.105 MB / 1.014 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7333, allocations: 0 / 1.014 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008354/0.7342, allocations: 299.4 kB / 1.014 GB, free: 15.69 MB / 0.7637 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.000318/0.7345, allocations: 180.5 kB / 1.014 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007396/0.7352, allocations: 0.558 MB / 1.015 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7353, allocations: 4.062 kB / 1.015 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.7356, allocations: 301.6 kB / 1.015 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.7386, allocations: 0.9678 MB / 1.016 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.7431, allocations: 4.748 MB / 1.021 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.7443, allocations: 1.952 MB / 1.023 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009514/0.7453, allocations: 385.3 kB / 1.023 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.7455, allocations: 123.3 kB / 1.023 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of SimCode: time 2.9e-07/0.7455, allocations: 2.562 kB / 1.023 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of Templates: time 0.04387/0.7894, allocations: 30.28 MB / 1.053 GB, free: 216 kB / 0.7794 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)