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.0007855/0.0007856, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005016/0.005016, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.4/1.4, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.539/1.539, allocations: 252 MB / 0.5105 GB, free: 4.695 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.0006075/0.0006075, allocations: 16 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5569, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7378/1.295, allocations: 197.2 MB / 0.9213 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01108/1.306, allocations: 7.404 MB / 0.9285 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/1.308, allocations: 25.78 kB / 0.9286 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/1.311, allocations: 0.6115 MB / 0.9292 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/1.322, allocations: 2.236 MB / 0.9314 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005873/1.328, allocations: 1.197 MB / 0.9325 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008804/1.337, allocations: 4.284 MB / 0.9367 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/1.339, allocations: 0.8003 MB / 0.9375 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/1.343, allocations: 0.8874 MB / 0.9384 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/1.347, allocations: 0.9798 MB / 0.9393 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003775/1.347, allocations: 48.53 kB / 0.9394 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008773/1.356, allocations: 2.472 MB / 0.9418 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/1.357, allocations: 402.6 kB / 0.9422 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001831/1.359, allocations: 0.6256 MB / 0.9428 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007665/1.367, allocations: 2.515 MB / 0.9452 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.367, allocations: 7.688 kB / 0.9452 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.707e-06/1.367, allocations: 0 / 0.9452 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.353e-05/1.367, allocations: 0 / 0.9452 GB, free: 17.46 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.005446/1.373, allocations: 1.414 MB / 0.9466 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.373, allocations: 14.56 kB / 0.9466 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/1.378, allocations: 374.5 kB / 0.947 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/1.38, allocations: 0.8064 MB / 0.9478 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/1.38, allocations: 71.81 kB / 0.9478 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.38, allocations: 90.03 kB / 0.9479 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/1.383, allocations: 1.059 MB / 0.949 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/1.383, allocations: 6.438 kB / 0.949 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.383, allocations: 33.66 kB / 0.949 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.53e-05/1.384, allocations: 52.38 kB / 0.949 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/1.386, allocations: 0.8878 MB / 0.9499 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.008487/1.395, allocations: 4.307 MB / 0.9541 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.396, allocations: 0.6865 MB / 0.9548 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.398, allocations: 455.4 kB / 0.9552 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.399, allocations: 0.6755 MB / 0.9559 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/1.399, allocations: 41.41 kB / 0.9559 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 4.519e-06/1.399, allocations: 4 kB / 0.9559 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.003183/1.402, allocations: 0.9838 MB / 0.9569 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/1.402, allocations: 65.92 kB / 0.9569 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/1.403, allocations: 0.6319 MB / 0.9576 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.404, allocations: 42.05 kB / 0.9576 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/1.404, allocations: 438.5 kB / 0.958 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/1.404, allocations: 247.6 kB / 0.9583 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.405, allocations: 61.27 kB / 0.9583 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002563/1.405, allocations: 389.9 kB / 0.9587 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/1.406, allocations: 268 kB / 0.9589 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/1.406, allocations: 368.1 kB / 0.9593 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/1.408, allocations: 0.6573 MB / 0.9599 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.408, allocations: 2.906 kB / 0.9599 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002323/1.41, allocations: 0.7825 MB / 0.9607 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.411, allocations: 8.531 kB / 0.9607 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.411, allocations: 6.625 kB / 0.9607 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/1.411, allocations: 8.875 kB / 0.9607 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.412, allocations: 138.5 kB / 0.9609 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/1.412, allocations: 7.109 kB / 0.9609 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.414, allocations: 112.2 kB / 0.961 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/1.414, allocations: 21.28 kB / 0.961 GB, free: 11.49 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.0008764/1.415, allocations: 293.3 kB / 0.9613 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/1.415, allocations: 90.64 kB / 0.9614 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/1.418, allocations: 0.791 MB / 0.9621 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.418, allocations: 8.812 kB / 0.9621 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.418, allocations: 0 / 0.9621 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001954/1.42, allocations: 0.8071 MB / 0.9629 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/1.425, allocations: 1.857 MB / 0.9647 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.425, allocations: 0 / 0.9647 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.427, allocations: 170 kB / 0.9649 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/1.427, allocations: 3.125 kB / 0.9649 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/1.427, allocations: 18.52 kB / 0.9649 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.427, allocations: 7.328 kB / 0.9649 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.427, allocations: 0 / 0.9649 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/1.43, allocations: 1.264 MB / 0.9662 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/1.431, allocations: 254 kB / 0.9664 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/1.431, allocations: 16.75 kB / 0.9664 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.433, allocations: 83.39 kB / 0.9665 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.433, allocations: 42 kB / 0.9665 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.433, allocations: 27.69 kB / 0.9666 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00118/1.435, allocations: 454.1 kB / 0.967 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.435, allocations: 0 / 0.967 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001722/1.436, allocations: 359.7 kB / 0.9673 GB, free: 10.15 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.0006035/1.437, allocations: 190.2 kB / 0.9675 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.439, allocations: 0.6774 MB / 0.9682 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.439, allocations: 3.562 kB / 0.9682 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.44, allocations: 363.2 kB / 0.9685 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005006/1.445, allocations: 0.5232 MB / 0.9691 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/1.453, allocations: 2.711 MB / 0.9717 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.454, allocations: 1.104 MB / 0.9728 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002331/1.456, allocations: 221.9 kB / 0.973 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/1.457, allocations: 78.19 kB / 0.9731 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.457, allocations: 0 / 0.9731 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of Templates: time 0.05792/1.515, allocations: 17.67 MB / 0.9903 GB, free: 176 kB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: