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.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 152 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.001163/0.001163, allocations: 195 kB / 16.53 MB, free: 6.664 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.165/1.165, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.481/1.481, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001276/0.001276, allocations: 70.91 kB / 0.6715 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1678, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.465/0.6329, allocations: 179.2 MB / 0.9584 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.6448, allocations: 10.93 MB / 0.9691 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.6468, allocations: 76.5 kB / 0.9692 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.6513, allocations: 2.002 MB / 0.9711 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.6548, allocations: 1.607 MB / 0.9727 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.6565, allocations: 0.7769 MB / 0.9734 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.6597, allocations: 3.106 MB / 0.9765 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.6611, allocations: 1.31 MB / 0.9777 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.6625, allocations: 1.095 MB / 0.9788 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.664, allocations: 1.111 MB / 0.9799 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.6642, allocations: 127.8 kB / 0.98 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.6658, allocations: 0.9126 MB / 0.9809 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.6662, allocations: 486.9 kB / 0.9814 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008421/0.6671, allocations: 1.09 MB / 0.9824 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.6697, allocations: 3.215 MB / 0.9856 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6697, allocations: 0 / 0.9856 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6697, allocations: 0 / 0.9856 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.805e-05/0.6698, allocations: 0 / 0.9856 GB, free: 9.797 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.003019/0.6728, allocations: 2.749 MB / 0.9883 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.6728, allocations: 8.094 kB / 0.9883 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.674, allocations: 374.5 kB / 0.9886 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.6762, allocations: 1.877 MB / 0.9905 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.6762, allocations: 55.72 kB / 0.9905 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.6763, allocations: 81.25 kB / 0.9906 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6775, allocations: 0.9407 MB / 0.9915 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.6776, allocations: 3.938 kB / 0.9915 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.6776, allocations: 34.34 kB / 0.9916 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.6777, allocations: 23.84 kB / 0.9916 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.6786, allocations: 0.6996 MB / 0.9923 GB, free: 5.32 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.004426/0.683, allocations: 4.492 MB / 0.9966 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.6834, allocations: 328.3 kB / 0.997 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.6836, allocations: 175.2 kB / 0.9971 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.6838, allocations: 103.6 kB / 0.9972 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.6838, allocations: 33.47 kB / 0.9973 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.6838, allocations: 0 / 0.9973 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.002347/0.6862, allocations: 1.696 MB / 0.9989 GB, free: 140 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.6862, allocations: 53.34 kB / 0.999 GB, free: 76 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.6891, allocations: 2.964 MB / 1.002 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.6891, allocations: 31.92 kB / 1.002 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007667/0.6899, allocations: 1.057 MB / 1.003 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.69, allocations: 116.3 kB / 1.003 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.6901, allocations: 115.4 kB / 1.003 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.6902, allocations: 322.6 kB / 1.003 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.6904, allocations: 166 kB / 1.004 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.6908, allocations: 363.9 kB / 1.004 GB, free: 12.7 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.001711/0.6925, allocations: 1.074 MB / 1.005 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6925, allocations: 2.656 kB / 1.005 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009297/0.6934, allocations: 0.799 MB / 1.006 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6934, allocations: 11.31 kB / 1.006 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6935, allocations: 9.344 kB / 1.006 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.6936, allocations: 59.88 kB / 1.006 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.6939, allocations: 99.22 kB / 1.006 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.6952, allocations: 1.865 MB / 1.008 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.6959, allocations: 28.2 kB / 1.008 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.6959, allocations: 25.81 kB / 1.008 GB, free: 9.641 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.0007164/0.6967, allocations: 0.7956 MB / 1.009 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.6969, allocations: 233.4 kB / 1.009 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.6971, allocations: 256.5 kB / 1.009 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6972, allocations: 2.688 kB / 1.009 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6972, allocations: 0 / 1.009 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005545/0.6977, allocations: 0.5989 MB / 1.01 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.7, allocations: 2.054 MB / 1.012 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7, allocations: 2.562 kB / 1.012 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.7003, allocations: 64.12 kB / 1.012 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.7004, allocations: 61.59 kB / 1.012 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.7005, allocations: 10.91 kB / 1.012 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.7017, allocations: 1.864 MB / 1.014 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7017, allocations: 6.625 kB / 1.014 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.7026, allocations: 0.9422 MB / 1.015 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.7031, allocations: 414.2 kB / 1.015 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.7032, allocations: 13.8 kB / 1.015 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.7038, allocations: 17.67 kB / 1.015 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.7038, allocations: 36.62 kB / 1.015 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.7039, allocations: 16.94 kB / 1.015 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002115/0.706, allocations: 2.093 MB / 1.017 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.706, allocations: 3 kB / 1.017 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007783/0.7068, allocations: 303.7 kB / 1.017 GB, free: 2.953 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.0003106/0.7071, allocations: 164.6 kB / 1.018 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007169/0.7078, allocations: 0.5589 MB / 1.018 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7078, allocations: 2.125 kB / 1.018 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.7081, allocations: 301.3 kB / 1.018 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.002905/0.7111, allocations: 0.963 MB / 1.019 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.7154, allocations: 4.163 MB / 1.023 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.7166, allocations: 1.953 MB / 1.025 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008262/0.7175, allocations: 346.4 kB / 1.026 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.7176, allocations: 103.4 kB / 1.026 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of SimCode: time 2.21e-07/0.7177, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of Templates: time 0.04158/0.7592, allocations: 29.8 MB / 1.055 GB, free: 15.46 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)