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.000767/0.000767, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008239/0.000824, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.798/1.798, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005393/0.0005395, allocations: 15.38 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.23, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6641/0.8941, allocations: 162.8 MB / 0.9462 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.9097, allocations: 10.12 MB / 0.9561 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.9132, allocations: 70.66 kB / 0.9562 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.9187, allocations: 1.575 MB / 0.9577 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.9231, allocations: 1.25 MB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.9251, allocations: 0.5739 MB / 0.9595 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004575/0.9297, allocations: 3.12 MB / 0.9626 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.9314, allocations: 0.9843 MB / 0.9635 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.9333, allocations: 0.9369 MB / 0.9644 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.9347, allocations: 1.007 MB / 0.9654 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.9349, allocations: 69.19 kB / 0.9655 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.9364, allocations: 483 kB / 0.9659 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.9368, allocations: 396.3 kB / 0.9663 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006341/0.9375, allocations: 475.6 kB / 0.9668 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.9399, allocations: 2.353 MB / 0.9691 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9399, allocations: 0 / 0.9691 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9399, allocations: 0 / 0.9691 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.63e-05/0.94, allocations: 7.938 kB / 0.9691 GB, free: 16.15 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.003826/0.9438, allocations: 2.337 MB / 0.9714 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9439, allocations: 9.375 kB / 0.9714 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.9454, allocations: 365.5 kB / 0.9717 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.9486, allocations: 1.772 MB / 0.9734 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.9487, allocations: 54.28 kB / 0.9735 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.9488, allocations: 79.16 kB / 0.9736 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.9504, allocations: 0.9339 MB / 0.9745 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.9504, allocations: 0 / 0.9745 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.9505, allocations: 36.44 kB / 0.9745 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.9505, allocations: 25.56 kB / 0.9745 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.9516, allocations: 0.6965 MB / 0.9752 GB, free: 13.82 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.007019/0.9586, allocations: 4.487 MB / 0.9796 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.9592, allocations: 319.2 kB / 0.9799 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.9594, allocations: 182.7 kB / 0.9801 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.9597, allocations: 95.56 kB / 0.9802 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.9597, allocations: 44.61 kB / 0.9802 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.836e-06/0.9597, allocations: 0 / 0.9802 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.003979/0.9637, allocations: 1.691 MB / 0.9819 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.9638, allocations: 58.84 kB / 0.9819 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.9681, allocations: 2.943 MB / 0.9848 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.9681, allocations: 30.77 kB / 0.9848 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009619/0.9691, allocations: 1.055 MB / 0.9859 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.9692, allocations: 115.6 kB / 0.986 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.9692, allocations: 10.69 kB / 0.986 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9694, allocations: 334 kB / 0.9863 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.9696, allocations: 158.8 kB / 0.9864 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.97, allocations: 364.4 kB / 0.9868 GB, free: 8.035 MB / 0.7325 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.001478/0.9715, allocations: 0.6238 MB / 0.9874 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.9715, allocations: 2.906 kB / 0.9874 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001272/0.9728, allocations: 0.7875 MB / 0.9882 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.9728, allocations: 9.375 kB / 0.9882 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.9728, allocations: 5.125 kB / 0.9882 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.9731, allocations: 68.45 kB / 0.9883 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.9734, allocations: 100.5 kB / 0.9884 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.975, allocations: 1.674 MB / 0.99 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.9762, allocations: 38.98 kB / 0.99 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.9763, allocations: 29.06 kB / 0.9901 GB, free: 6.035 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001373/0.9776, allocations: 0.8032 MB / 0.9908 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.978, allocations: 232 kB / 0.9911 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.9784, allocations: 252.2 kB / 0.9913 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9784, allocations: 3.562 kB / 0.9913 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9784, allocations: 4 kB / 0.9913 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006734/0.9791, allocations: 0.597 MB / 0.9919 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.9823, allocations: 2.056 MB / 0.9939 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.9824, allocations: 5.281 kB / 0.9939 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.9827, allocations: 68.28 kB / 0.994 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/0.9828, allocations: 58.25 kB / 0.994 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.9829, allocations: 11.88 kB / 0.994 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.9843, allocations: 1.668 MB / 0.9957 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9843, allocations: 7.281 kB / 0.9957 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.9855, allocations: 0.9408 MB / 0.9966 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008812/0.9864, allocations: 411 kB / 0.997 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.9869, allocations: 14.3 kB / 0.997 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/0.9877, allocations: 41.14 kB / 0.997 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.9878, allocations: 32.39 kB / 0.9971 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.9879, allocations: 14.72 kB / 0.9971 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003366/0.9912, allocations: 2.072 MB / 0.9991 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9912, allocations: 0 / 0.9991 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00136/0.9926, allocations: 298.8 kB / 0.9994 GB, free: 1.48 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004131/0.993, allocations: 173.7 kB / 0.9996 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.994, allocations: 0.5184 MB / 1 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9941, allocations: 5.047 kB / 1 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.9944, allocations: 293.9 kB / 1 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/0.9983, allocations: 0.8847 MB / 1.001 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006254/1.005, allocations: 4.648 MB / 1.006 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.006, allocations: 1.947 MB / 1.008 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001336/1.007, allocations: 338.4 kB / 1.008 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/1.008, allocations: 101.1 kB / 1.008 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of SimCode: time 1.353e-06/1.008, allocations: 0 / 1.008 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.05013/1.058, allocations: 27.71 MB / 1.035 GB, free: 6.914 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: