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.0009121/0.0009121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009261/0.0009262, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.109/1.109, allocations: 205.1 MB / 222 MB, free: 4.773 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.486/1.486, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001147/0.001147, allocations: 65.86 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.4584/0.6218, allocations: 176.9 MB / 0.9554 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.6334, allocations: 10.91 MB / 0.966 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.6353, allocations: 73.34 kB / 0.9661 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004375/0.6397, allocations: 1.835 MB / 0.9679 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.6426, allocations: 1.484 MB / 0.9693 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.6441, allocations: 0.6994 MB / 0.97 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.6472, allocations: 3.684 MB / 0.9736 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.6484, allocations: 1.154 MB / 0.9747 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.6497, allocations: 0.9942 MB / 0.9757 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.6511, allocations: 1.101 MB / 0.9768 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.6513, allocations: 88.25 kB / 0.9769 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.6531, allocations: 1.005 MB / 0.9779 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.6534, allocations: 441.2 kB / 0.9783 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008494/0.6543, allocations: 1.038 MB / 0.9793 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.6565, allocations: 3.093 MB / 0.9823 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6565, allocations: 2 kB / 0.9823 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6565, allocations: 0 / 0.9823 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.6565, allocations: 3.938 kB / 0.9823 GB, free: 1.816 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.003114/0.6596, allocations: 2.703 MB / 0.985 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.6597, allocations: 8.875 kB / 0.985 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.6608, allocations: 377.2 kB / 0.9853 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.6629, allocations: 1.87 MB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.6629, allocations: 55.72 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.663, allocations: 75.44 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6641, allocations: 0.9373 MB / 0.9882 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.6641, allocations: 6 kB / 0.9882 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.6642, allocations: 39.95 kB / 0.9882 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.6642, allocations: 25.75 kB / 0.9883 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.6651, allocations: 0.6943 MB / 0.9889 GB, free: 15.43 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.004263/0.6694, allocations: 4.48 MB / 0.9933 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.6698, allocations: 329.5 kB / 0.9936 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.67, allocations: 177.7 kB / 0.9938 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.6701, allocations: 105.3 kB / 0.9939 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.6702, allocations: 33.91 kB / 0.9939 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.6702, allocations: 0 / 0.9939 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.002408/0.6726, allocations: 1.692 MB / 0.9956 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.6726, allocations: 54.5 kB / 0.9956 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.6755, allocations: 2.97 MB / 0.9985 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.6756, allocations: 32.14 kB / 0.9986 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007543/0.6763, allocations: 1.051 MB / 0.9996 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.653e-05/0.6764, allocations: 121.6 kB / 0.9997 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.6766, allocations: 107.2 kB / 0.9998 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.6766, allocations: 327.9 kB / 1 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.6769, allocations: 160.4 kB / 1 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.6772, allocations: 368.5 kB / 1.001 GB, free: 8.953 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.00171/0.6789, allocations: 1.069 MB / 1.002 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6789, allocations: 0 / 1.002 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009048/0.6798, allocations: 0.8019 MB / 1.002 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6798, allocations: 8.906 kB / 1.002 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6798, allocations: 7.094 kB / 1.002 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.68, allocations: 67.7 kB / 1.003 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.6803, allocations: 100.9 kB / 1.003 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.6815, allocations: 1.678 MB / 1.004 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.6822, allocations: 44.14 kB / 1.004 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.6822, allocations: 23.53 kB / 1.004 GB, free: 6.062 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.0007315/0.683, allocations: 0.7996 MB / 1.005 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.6832, allocations: 238.2 kB / 1.005 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.6835, allocations: 251.7 kB / 1.006 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6835, allocations: 6.594 kB / 1.006 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6835, allocations: 0 / 1.006 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005346/0.684, allocations: 0.597 MB / 1.006 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.6863, allocations: 2.052 MB / 1.008 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6863, allocations: 3.219 kB / 1.008 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.6866, allocations: 62.69 kB / 1.008 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.6867, allocations: 64.69 kB / 1.008 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.6868, allocations: 9.812 kB / 1.008 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.6879, allocations: 1.672 MB / 1.01 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.6879, allocations: 11.38 kB / 1.01 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.6888, allocations: 0.9479 MB / 1.011 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.6893, allocations: 413.6 kB / 1.011 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.6895, allocations: 12.75 kB / 1.011 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.69, allocations: 24.81 kB / 1.011 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.6901, allocations: 32.75 kB / 1.011 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.6901, allocations: 23.52 kB / 1.011 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002082/0.6922, allocations: 2.098 MB / 1.013 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/0.6922, allocations: 0 / 1.013 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007828/0.693, allocations: 304.6 kB / 1.014 GB, free: 15.54 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.0003022/0.6933, allocations: 164.6 kB / 1.014 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006699/0.694, allocations: 0.5329 MB / 1.014 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.694, allocations: 0 / 1.014 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.6943, allocations: 307 kB / 1.015 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.6973, allocations: 0.8969 MB / 1.016 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.7018, allocations: 4.734 MB / 1.02 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.703, allocations: 1.954 MB / 1.022 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008539/0.7039, allocations: 334.8 kB / 1.022 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.7041, allocations: 100.3 kB / 1.022 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/0.7041, allocations: 0 / 1.022 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of Templates: time 0.03868/0.7427, allocations: 28.68 MB / 1.051 GB, free: 1.648 MB / 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)