Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001105/0.001105, allocations: 116.4 kB / 16.38 MB, free: 5.992 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.001061/0.001061, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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.001419/0.001419, allocations: 67.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2327, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6104/0.8431, allocations: 201.9 MB / 0.982 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.8543, allocations: 7.313 MB / 0.9891 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.8561, allocations: 31.81 kB / 0.9892 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.8581, allocations: 0.6992 MB / 0.9898 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007206/0.8653, allocations: 2.349 MB / 0.9921 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.8693, allocations: 1.273 MB / 0.9934 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005152/0.8745, allocations: 2.891 MB / 0.9962 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.8761, allocations: 0.9469 MB / 0.9971 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.8782, allocations: 1.016 MB / 0.9981 GB, free: 15.51 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.8803, allocations: 0.9561 MB / 0.9991 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.8805, allocations: 112 kB / 0.9992 GB, free: 14.44 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.8849, allocations: 2.135 MB / 1.001 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.8853, allocations: 446.8 kB / 1.002 GB, free: 11.86 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007826/0.8861, allocations: 0.6611 MB / 1.002 GB, free: 11.2 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.8901, allocations: 2.4 MB / 1.005 GB, free: 8.793 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8902, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8902, allocations: 0.6562 kB / 1.005 GB, free: 8.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.8902, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.795 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.003172/0.8934, allocations: 1.623 MB / 1.006 GB, free: 7.117 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8935, allocations: 8.031 kB / 1.006 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.8959, allocations: 377.5 kB / 1.007 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.8972, allocations: 0.8356 MB / 1.007 GB, free: 5.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.8973, allocations: 69.94 kB / 1.007 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.8974, allocations: 89.48 kB / 1.008 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.8991, allocations: 1.042 MB / 1.009 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.8991, allocations: 3.984 kB / 1.009 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.8992, allocations: 32 kB / 1.009 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/0.8993, allocations: 45.94 kB / 1.009 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.9007, allocations: 0.8783 MB / 1.01 GB, free: 3.676 MB / 0.795 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.004773/0.9055, allocations: 4.28 MB / 1.014 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.9065, allocations: 0.7018 MB / 1.014 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.9073, allocations: 460.7 kB / 1.015 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.9079, allocations: 0.6693 MB / 1.015 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9079, allocations: 51.05 kB / 1.016 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.334e-06/0.908, allocations: 0 / 1.016 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.00196/0.9099, allocations: 0.9861 MB / 1.017 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.91, allocations: 63.95 kB / 1.017 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.9108, allocations: 0.6293 MB / 1.017 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.9109, allocations: 42.83 kB / 1.017 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.9112, allocations: 420.1 kB / 1.018 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.9115, allocations: 256.3 kB / 1.018 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.9117, allocations: 118.2 kB / 1.018 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.9119, allocations: 390.7 kB / 1.018 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.9124, allocations: 273.2 kB / 1.019 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.9129, allocations: 370.7 kB / 1.019 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.914, allocations: 0.6626 MB / 1.02 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.914, allocations: 4 kB / 1.02 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001273/0.9153, allocations: 0.7852 MB / 1.02 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9153, allocations: 4.188 kB / 1.02 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9153, allocations: 11.94 kB / 1.02 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.9153, allocations: 7.938 kB / 1.02 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.916, allocations: 143.8 kB / 1.021 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.916, allocations: 4 kB / 1.021 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.9168, allocations: 56.2 kB / 1.021 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.9168, allocations: 24 kB / 1.021 GB, free: 7.688 MB / 0.8106 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.0004252/0.9173, allocations: 285.6 kB / 1.021 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.9174, allocations: 87.06 kB / 1.021 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.9188, allocations: 0.7892 MB / 1.022 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.9188, allocations: 4 kB / 1.022 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.9188, allocations: 5.812 kB / 1.022 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/0.9198, allocations: 0.8153 MB / 1.023 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.9225, allocations: 1.841 MB / 1.024 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9225, allocations: 4 kB / 1.024 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/0.9233, allocations: 171.8 kB / 1.025 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/0.9233, allocations: 4 kB / 1.025 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.9234, allocations: 12 kB / 1.025 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.9234, allocations: 4 kB / 1.025 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9234, allocations: 4 kB / 1.025 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.9252, allocations: 1.269 MB / 1.026 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.9255, allocations: 247.9 kB / 1.026 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.9256, allocations: 15.94 kB / 1.026 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.9262, allocations: 25.73 kB / 1.026 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9263, allocations: 40.5 kB / 1.026 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.9264, allocations: 24 kB / 1.026 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005095/0.9269, allocations: 451 kB / 1.027 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.403e-06/0.9269, allocations: 0 / 1.027 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008278/0.9278, allocations: 347 kB / 1.027 GB, free: 1.117 MB / 0.8106 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.0003245/0.9281, allocations: 193.3 kB / 1.027 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.9292, allocations: 0.6796 MB / 1.028 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9292, allocations: 0 / 1.028 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.9297, allocations: 375 kB / 1.028 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.932, allocations: 0.549 MB / 1.029 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.9352, allocations: 2.177 MB / 1.031 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.9359, allocations: 1.081 MB / 1.032 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.9361, allocations: 83.42 kB / 1.032 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.9361, allocations: 4 kB / 1.032 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.0228/0.9589, allocations: 15.28 MB / 1.047 GB, free: 12.94 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)