Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001117/0.001117, allocations: 194.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 251.6 MB / 0.5089 GB, free: 3.23 MB / 414.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.001969/0.001969, allocations: 71.91 kB / 0.6217 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8668, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.02/1.887, allocations: 199.5 MB / 0.9188 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01674/1.904, allocations: 7.348 MB / 0.926 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/1.907, allocations: 31.44 kB / 0.926 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/1.91, allocations: 0.6211 MB / 0.9266 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/1.921, allocations: 2.228 MB / 0.9288 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005409/1.926, allocations: 1.219 MB / 0.93 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006744/1.933, allocations: 3.018 MB / 0.933 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/1.935, allocations: 0.9647 MB / 0.9339 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/1.938, allocations: 1.082 MB / 0.935 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/1.941, allocations: 1.033 MB / 0.936 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003031/1.941, allocations: 116.2 kB / 0.9361 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006389/1.948, allocations: 2.23 MB / 0.9383 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008329/1.948, allocations: 473.2 kB / 0.9387 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/1.95, allocations: 0.6858 MB / 0.9394 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006486/1.957, allocations: 2.591 MB / 0.9419 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/1.957, allocations: 2.906 kB / 0.9419 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/1.957, allocations: 0 / 0.9419 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.883e-05/1.957, allocations: 1.031 kB / 0.9419 GB, free: 1.465 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004062/1.961, allocations: 1.639 MB / 0.9435 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.961, allocations: 8.531 kB / 0.9435 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/1.963, allocations: 379.7 kB / 0.9439 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/1.965, allocations: 0.8117 MB / 0.9447 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/1.965, allocations: 64.73 kB / 0.9447 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/1.965, allocations: 88.72 kB / 0.9448 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/1.967, allocations: 1.059 MB / 0.9459 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.967, allocations: 1.938 kB / 0.9459 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.967, allocations: 36.81 kB / 0.9459 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.71e-05/1.967, allocations: 46.8 kB / 0.9459 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/1.969, allocations: 0.8859 MB / 0.9468 GB, free: 16.1 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.006861/1.976, allocations: 4.307 MB / 0.951 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.977, allocations: 0.6876 MB / 0.9517 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/1.978, allocations: 452.3 kB / 0.9521 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/1.978, allocations: 0.6737 MB / 0.9528 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.978, allocations: 43.53 kB / 0.9528 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 4.398e-06/1.978, allocations: 0 / 0.9528 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002045/1.981, allocations: 0.9801 MB / 0.9538 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.981, allocations: 61.75 kB / 0.9538 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/1.981, allocations: 0.6399 MB / 0.9545 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/1.982, allocations: 41.3 kB / 0.9545 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/1.982, allocations: 432.7 kB / 0.9549 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/1.982, allocations: 248.1 kB / 0.9551 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.982, allocations: 120.6 kB / 0.9553 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.983, allocations: 385.5 kB / 0.9556 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/1.983, allocations: 271.2 kB / 0.9559 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/1.984, allocations: 365.6 kB / 0.9562 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/1.984, allocations: 0.6508 MB / 0.9569 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.984, allocations: 2.906 kB / 0.9569 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001292/1.986, allocations: 0.7815 MB / 0.9576 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.986, allocations: 6.312 kB / 0.9576 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.986, allocations: 2.719 kB / 0.9576 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.986, allocations: 11.36 kB / 0.9577 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/1.987, allocations: 144.1 kB / 0.9578 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.987, allocations: 4.781 kB / 0.9578 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.988, allocations: 113.2 kB / 0.9579 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/1.988, allocations: 23.06 kB / 0.9579 GB, free: 11.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00058/1.988, allocations: 292.4 kB / 0.9582 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/1.988, allocations: 87 kB / 0.9583 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/1.99, allocations: 0.7854 MB / 0.9591 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.99, allocations: 8.656 kB / 0.9591 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.99, allocations: 0 / 0.9591 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.991, allocations: 0.8011 MB / 0.9598 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/1.994, allocations: 1.845 MB / 0.9616 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.994, allocations: 1 kB / 0.9616 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/1.995, allocations: 174.3 kB / 0.9618 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.995, allocations: 0 / 0.9618 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/1.995, allocations: 22.89 kB / 0.9618 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.995, allocations: 3.375 kB / 0.9618 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.995, allocations: 2.203 kB / 0.9618 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/1.997, allocations: 1.256 MB / 0.9631 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/1.997, allocations: 253.2 kB / 0.9633 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.997, allocations: 17.88 kB / 0.9633 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/1.998, allocations: 76.08 kB / 0.9634 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.998, allocations: 51.22 kB / 0.9634 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/1.998, allocations: 22.7 kB / 0.9635 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005455/1.999, allocations: 458.7 kB / 0.9639 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.51e-07/1.999, allocations: 0 / 0.9639 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009515/2, allocations: 354.9 kB / 0.9642 GB, free: 10.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003721/2, allocations: 191.3 kB / 0.9644 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001542/2.002, allocations: 0.8094 MB / 0.9652 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.002, allocations: 0 / 0.9652 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005197/2.002, allocations: 370.4 kB / 0.9656 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/2.004, allocations: 0.5481 MB / 0.9661 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/2.008, allocations: 2.566 MB / 0.9686 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/2.009, allocations: 1.091 MB / 0.9697 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001113/2.01, allocations: 227.6 kB / 0.9699 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/2.01, allocations: 73.33 kB / 0.97 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/2.01, allocations: 0 / 0.97 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.03398/2.044, allocations: 18.47 MB / 0.988 GB, free: 2.051 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)