Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001562/0.001563, allocations: 187.9 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.59 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3782, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9101/1.288, allocations: 199.7 MB / 1.263 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009514/1.298, allocations: 7.493 MB / 1.27 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/1.3, allocations: 32.62 kB / 1.27 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/1.301, allocations: 0.6117 MB / 1.271 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005679/1.307, allocations: 2.261 MB / 1.273 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/1.31, allocations: 1.122 MB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00515/1.315, allocations: 4.158 MB / 1.278 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/1.317, allocations: 0.8135 MB / 1.279 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/1.318, allocations: 0.8815 MB / 1.28 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/1.321, allocations: 0.9957 MB / 1.281 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/1.321, allocations: 61.72 kB / 1.281 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005962/1.327, allocations: 2.491 MB / 1.283 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006905/1.328, allocations: 397.5 kB / 1.283 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.329, allocations: 0.6083 MB / 1.284 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/1.333, allocations: 2.501 MB / 1.286 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.333, allocations: 3.938 kB / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.71e-07/1.333, allocations: 1.375 kB / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.973e-05/1.333, allocations: 0 / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003548/1.337, allocations: 1.627 MB / 1.288 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.337, allocations: 8.969 kB / 1.288 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/1.34, allocations: 376.7 kB / 1.288 GB, free: 20.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.341, allocations: 0.813 MB / 1.289 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/1.341, allocations: 64 kB / 1.289 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.341, allocations: 90.39 kB / 1.289 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.343, allocations: 1.043 MB / 1.29 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.343, allocations: 0 / 1.29 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/1.343, allocations: 36.42 kB / 1.29 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/1.343, allocations: 48.97 kB / 1.29 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/1.344, allocations: 0.8791 MB / 1.291 GB, free: 19.65 MB / 1.014 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.004587/1.349, allocations: 4.289 MB / 1.295 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/1.35, allocations: 0.6921 MB / 1.296 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/1.351, allocations: 460.6 kB / 1.297 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006935/1.351, allocations: 0.6677 MB / 1.297 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.352, allocations: 42.06 kB / 1.297 GB, free: 16.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.344e-06/1.352, allocations: 4 kB / 1.297 GB, free: 16.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001889/1.353, allocations: 0.9924 MB / 1.298 GB, free: 16.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/1.353, allocations: 60.11 kB / 1.298 GB, free: 16.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/1.354, allocations: 0.6364 MB / 1.299 GB, free: 16.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/1.354, allocations: 43.55 kB / 1.299 GB, free: 16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/1.355, allocations: 429.2 kB / 1.299 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/1.355, allocations: 247 kB / 1.3 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.355, allocations: 124.3 kB / 1.3 GB, free: 15.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.355, allocations: 393.1 kB / 1.3 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/1.356, allocations: 275.2 kB / 1.3 GB, free: 15.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/1.356, allocations: 359.5 kB / 1.301 GB, free: 15.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.357, allocations: 0.6614 MB / 1.301 GB, free: 15.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.357, allocations: 0.7812 kB / 1.301 GB, free: 15.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001311/1.359, allocations: 0.7927 MB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.359, allocations: 6.938 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.359, allocations: 6.625 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.359, allocations: 4.281 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/1.359, allocations: 143.3 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.359, allocations: 4.719 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.36, allocations: 117.3 kB / 1.302 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/1.361, allocations: 23.94 kB / 1.302 GB, free: 15.05 MB / 1.014 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.0004327/1.361, allocations: 295.9 kB / 1.303 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/1.361, allocations: 89.66 kB / 1.303 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/1.363, allocations: 0.796 MB / 1.304 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.363, allocations: 10.38 kB / 1.304 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.363, allocations: 5 kB / 1.304 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/1.364, allocations: 0.8138 MB / 1.304 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/1.367, allocations: 1.854 MB / 1.306 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.367, allocations: 5.094 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/1.367, allocations: 170.4 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.367, allocations: 6.688 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/1.367, allocations: 15.41 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.367, allocations: 2.375 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.367, allocations: 4.188 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.369, allocations: 1.19 MB / 1.308 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/1.37, allocations: 251.9 kB / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.37, allocations: 14.88 kB / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/1.371, allocations: 72.02 kB / 1.308 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.371, allocations: 45.91 kB / 1.308 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/1.371, allocations: 21.94 kB / 1.308 GB, free: 13.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005506/1.371, allocations: 456.3 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.371, allocations: 1.344 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000952/1.372, allocations: 331.9 kB / 1.309 GB, free: 13.71 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.0003488/1.373, allocations: 201.1 kB / 1.309 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.374, allocations: 0.6734 MB / 1.31 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.374, allocations: 384 / 1.31 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004588/1.374, allocations: 376.5 kB / 1.31 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.376, allocations: 0.5225 MB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/1.38, allocations: 2.554 MB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/1.38, allocations: 1.09 MB / 1.314 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000917/1.381, allocations: 228.4 kB / 1.314 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/1.382, allocations: 71.44 kB / 1.314 GB, free: 11.36 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/1.382, allocations: 0 / 1.314 GB, free: 11.36 MB / 1.014 GB Notification: Performance of Templates: time 0.02865/1.41, allocations: 17.45 MB / 1.331 GB, free: 8.152 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)