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.00156/0.00156, 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.001575/0.001576, allocations: 196.1 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 2.121/2.121, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.769/1.769, allocations: 251.7 MB / 0.5092 GB, free: 3.117 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.001439/0.001439, allocations: 75.88 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7455, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.22/1.966, allocations: 202.1 MB / 0.9219 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01918/1.985, allocations: 7.387 MB / 0.9291 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/1.989, allocations: 35.59 kB / 0.9291 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/1.992, allocations: 0.6932 MB / 0.9298 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/2.004, allocations: 2.372 MB / 0.9321 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005853/2.01, allocations: 1.31 MB / 0.9334 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008015/2.018, allocations: 3.028 MB / 0.9364 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/2.02, allocations: 0.9796 MB / 0.9373 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/2.024, allocations: 1.05 MB / 0.9383 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/2.028, allocations: 0.9831 MB / 0.9393 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004383/2.028, allocations: 116.8 kB / 0.9394 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007555/2.036, allocations: 2.132 MB / 0.9415 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/2.037, allocations: 470.4 kB / 0.9419 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/2.039, allocations: 0.6771 MB / 0.9426 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007269/2.046, allocations: 2.44 MB / 0.945 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/2.046, allocations: 1.422 kB / 0.945 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/2.046, allocations: 0.8125 kB / 0.945 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.916e-05/2.046, allocations: 0 / 0.945 GB, free: 1.371 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.003731/2.05, allocations: 1.636 MB / 0.9466 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/2.05, allocations: 10.59 kB / 0.9466 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/2.053, allocations: 380.7 kB / 0.947 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/2.054, allocations: 0.8118 MB / 0.9477 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/2.054, allocations: 64.03 kB / 0.9478 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/2.055, allocations: 88.28 kB / 0.9479 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/2.056, allocations: 1.056 MB / 0.9489 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/2.057, allocations: 3.625 kB / 0.9489 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/2.057, allocations: 38.58 kB / 0.949 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-05/2.057, allocations: 43.06 kB / 0.949 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/2.058, allocations: 0.8824 MB / 0.9499 GB, free: 16 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.005629/2.064, allocations: 4.356 MB / 0.9541 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/2.065, allocations: 0.6885 MB / 0.9548 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/2.066, allocations: 450.8 kB / 0.9552 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/2.067, allocations: 0.675 MB / 0.9559 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/2.067, allocations: 44.28 kB / 0.9559 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.747e-06/2.067, allocations: 0.9375 kB / 0.9559 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001893/2.069, allocations: 0.9805 MB / 0.9569 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/2.069, allocations: 58.34 kB / 0.9569 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/2.069, allocations: 0.6405 MB / 0.9576 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/2.07, allocations: 38.36 kB / 0.9576 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/2.07, allocations: 435 kB / 0.958 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/2.07, allocations: 247.8 kB / 0.9583 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/2.07, allocations: 116.3 kB / 0.9584 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003091/2.071, allocations: 392.5 kB / 0.9587 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/2.071, allocations: 269.1 kB / 0.959 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/2.072, allocations: 368.7 kB / 0.9593 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/2.073, allocations: 0.6511 MB / 0.96 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/2.073, allocations: 0 / 0.96 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001556/2.074, allocations: 0.7816 MB / 0.9607 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/2.074, allocations: 8.156 kB / 0.9608 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.074, allocations: 8.344 kB / 0.9608 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/2.074, allocations: 2.094 kB / 0.9608 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/2.075, allocations: 144.7 kB / 0.9609 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/2.075, allocations: 4.531 kB / 0.9609 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/2.076, allocations: 60.12 kB / 0.961 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/2.076, allocations: 22.47 kB / 0.961 GB, free: 11.43 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.0006013/2.077, allocations: 292.6 kB / 0.9613 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/2.077, allocations: 81.75 kB / 0.9613 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/2.078, allocations: 0.7896 MB / 0.9621 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/2.078, allocations: 9.312 kB / 0.9621 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/2.078, allocations: 0 / 0.9621 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/2.079, allocations: 0.802 MB / 0.9629 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/2.082, allocations: 1.853 MB / 0.9647 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/2.082, allocations: 0 / 0.9647 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/2.083, allocations: 169.8 kB / 0.9649 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/2.083, allocations: 2.5 kB / 0.9649 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/2.083, allocations: 19.39 kB / 0.9649 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/2.083, allocations: 6.719 kB / 0.9649 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.083, allocations: 0.7188 kB / 0.9649 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/2.085, allocations: 1.267 MB / 0.9661 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/2.085, allocations: 250 kB / 0.9664 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/2.086, allocations: 16.75 kB / 0.9664 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/2.086, allocations: 31.83 kB / 0.9664 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/2.086, allocations: 49.11 kB / 0.9665 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/2.086, allocations: 27.64 kB / 0.9665 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005872/2.087, allocations: 459.8 kB / 0.9669 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.11e-07/2.087, allocations: 0 / 0.9669 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001036/2.088, allocations: 336.7 kB / 0.9673 GB, free: 10.12 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.000395/2.089, allocations: 199.4 kB / 0.9674 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001526/2.09, allocations: 0.8132 MB / 0.9682 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/2.09, allocations: 1.938 kB / 0.9682 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/2.091, allocations: 371.7 kB / 0.9686 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/2.093, allocations: 0.5436 MB / 0.9691 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/2.097, allocations: 2.16 MB / 0.9712 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/2.098, allocations: 1.092 MB / 0.9723 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001126/2.099, allocations: 229.3 kB / 0.9725 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/2.099, allocations: 74.84 kB / 0.9726 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/2.099, allocations: 0 / 0.9726 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of Templates: time 0.03562/2.135, allocations: 18.61 MB / 0.9908 GB, free: 1.191 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)