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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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.008043/0.008043, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001884/0.001884, allocations: 193 kB / 16.67 MB, free: 5.93 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.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.59/0.59, allocations: 95.47 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 70.09 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1481, allocations: 69.08 MB / 0.5711 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4901/0.6383, allocations: 163.1 MB / 0.7304 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.6485, allocations: 6.512 MB / 0.7367 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.6499, allocations: 23.88 kB / 0.7368 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.6514, allocations: 453.1 kB / 0.7372 GB, free: 4.363 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.6553, allocations: 1.193 MB / 0.7384 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6578, allocations: 0.8484 MB / 0.7392 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003215/0.6611, allocations: 2.229 MB / 0.7414 GB, free: 88 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.6622, allocations: 0.7254 MB / 0.7421 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.6642, allocations: 0.8316 MB / 0.7429 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6655, allocations: 0.8562 MB / 0.7437 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.6657, allocations: 80 kB / 0.7438 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6676, allocations: 0.7447 MB / 0.7445 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.6678, allocations: 219.2 kB / 0.7447 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.6684, allocations: 473.8 kB / 0.7452 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.6702, allocations: 1.332 MB / 0.7465 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6702, allocations: 0 / 0.7465 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6703, allocations: 0 / 0.7465 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.6703, allocations: 0 / 0.7465 GB, free: 10.82 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002096/0.6724, allocations: 1.199 MB / 0.7477 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6724, allocations: 11.98 kB / 0.7477 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.6728, allocations: 95.91 kB / 0.7478 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.674, allocations: 0.6899 MB / 0.7484 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.6741, allocations: 45.31 kB / 0.7485 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.6742, allocations: 63.89 kB / 0.7485 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.6753, allocations: 0.6591 MB / 0.7492 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.6753, allocations: 0 / 0.7492 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.6754, allocations: 20 kB / 0.7492 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.6754, allocations: 19.98 kB / 0.7492 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.6763, allocations: 0.5008 MB / 0.7497 GB, free: 7.402 MB / 0.5606 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.003434/0.6798, allocations: 2.796 MB / 0.7524 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.6806, allocations: 466 kB / 0.7529 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/0.6816, allocations: 318.5 kB / 0.7532 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.6832, allocations: 1.239 MB / 0.7544 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.6832, allocations: 39 kB / 0.7544 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 4.639e-06/0.6832, allocations: 0 / 0.7544 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.008887/0.6921, allocations: 2.203 MB / 0.7566 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.6922, allocations: 59.97 kB / 0.7566 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6934, allocations: 0.5695 MB / 0.7572 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/0.6934, allocations: 41.7 kB / 0.7572 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.6938, allocations: 336.6 kB / 0.7576 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.694, allocations: 220.8 kB / 0.7578 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.6943, allocations: 106.3 kB / 0.7579 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.6945, allocations: 378.8 kB / 0.7582 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.6952, allocations: 210 kB / 0.7584 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.6959, allocations: 311.5 kB / 0.7587 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.6973, allocations: 0.5387 MB / 0.7593 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6973, allocations: 0 / 0.7593 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00214/0.6994, allocations: 0.861 MB / 0.7601 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6995, allocations: 8 kB / 0.7601 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6995, allocations: 0 / 0.7601 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.6998, allocations: 58.47 kB / 0.7602 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.7008, allocations: 143.8 kB / 0.7603 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.7039, allocations: 2.819 MB / 0.7631 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.7046, allocations: 23.95 kB / 0.7631 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.7047, allocations: 20 kB / 0.7631 GB, free: 8.637 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004894/0.7052, allocations: 229.8 kB / 0.7633 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.7054, allocations: 67.16 kB / 0.7634 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.7076, allocations: 0.9031 MB / 0.7643 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.7076, allocations: 11.94 kB / 0.7643 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7076, allocations: 0 / 0.7643 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7077, allocations: 3.984 kB / 0.7643 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.7116, allocations: 1.712 MB / 0.7659 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7116, allocations: 0 / 0.7659 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7127, allocations: 127.9 kB / 0.7661 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.713, allocations: 41.69 kB / 0.7661 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.713, allocations: 19.98 kB / 0.7661 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.7161, allocations: 2.833 MB / 0.7689 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.7162, allocations: 3.938 kB / 0.7689 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/0.7192, allocations: 1.226 MB / 0.7701 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.7198, allocations: 220.2 kB / 0.7703 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.72, allocations: 12 kB / 0.7703 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.7207, allocations: 19.94 kB / 0.7703 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.7209, allocations: 40.5 kB / 0.7704 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.721, allocations: 27.97 kB / 0.7704 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008185/0.7218, allocations: 406.8 kB / 0.7708 GB, free: 244 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7218, allocations: 0 / 0.7708 GB, free: 244 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001357/0.7232, allocations: 284 kB / 0.7711 GB, free: 15.96 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (volA.dynBal.medium.p,volA.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008503/0.724, allocations: 330.8 kB / 0.7714 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.7262, allocations: 0.7941 MB / 0.7722 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7263, allocations: 0 / 0.7722 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.7275, allocations: 0.5317 MB / 0.7727 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.7306, allocations: 435.9 kB / 0.7731 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.7354, allocations: 1.718 MB / 0.7748 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/0.7362, allocations: 0.959 MB / 0.7757 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009948/0.7372, allocations: 158 kB / 0.7759 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.7376, allocations: 71.42 kB / 0.7759 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/0.7376, allocations: 0 / 0.7759 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.04797/0.7856, allocations: 17.15 MB / 0.7927 GB, free: 9.863 MB / 0.6075 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)