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.001487/0.001488, allocations: 107 kB / 16.27 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.001085/0.001085, allocations: 188.5 kB / 17.2 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.374/1.374, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.777/1.777, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001411/0.001411, allocations: 68.38 kB / 0.6721 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2338, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6166/0.8504, allocations: 201.9 MB / 0.9812 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.8619, allocations: 7.319 MB / 0.9884 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.8637, allocations: 35.81 kB / 0.9884 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.8658, allocations: 0.6914 MB / 0.9891 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.8725, allocations: 2.357 MB / 0.9914 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.8762, allocations: 1.267 MB / 0.9926 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004342/0.8806, allocations: 2.877 MB / 0.9954 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.8821, allocations: 0.9492 MB / 0.9963 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.8841, allocations: 1.008 MB / 0.9973 GB, free: 28 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.8865, allocations: 0.9618 MB / 0.9983 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.8867, allocations: 112 kB / 0.9984 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/0.8915, allocations: 2.136 MB / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006584/0.8922, allocations: 454.8 kB / 1.001 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.8932, allocations: 0.665 MB / 1.002 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.8981, allocations: 2.38 MB / 1.004 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8981, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8981, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.8981, allocations: 0 / 1.004 GB, free: 9.316 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.003565/0.9017, allocations: 1.623 MB / 1.005 GB, free: 7.641 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.9018, allocations: 10 kB / 1.005 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.9043, allocations: 370.3 kB / 1.006 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.9057, allocations: 0.8005 MB / 1.007 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.9057, allocations: 69.92 kB / 1.007 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.9059, allocations: 88 kB / 1.007 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.9076, allocations: 1.038 MB / 1.008 GB, free: 5.199 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.9076, allocations: 4 kB / 1.008 GB, free: 5.195 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.9077, allocations: 32 kB / 1.008 GB, free: 5.164 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.9078, allocations: 49.92 kB / 1.008 GB, free: 5.117 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.9092, allocations: 0.8783 MB / 1.009 GB, free: 4.238 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.006358/0.9156, allocations: 4.311 MB / 1.013 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.9168, allocations: 0.7037 MB / 1.014 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.9175, allocations: 455 kB / 1.014 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.9182, allocations: 0.677 MB / 1.015 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.9182, allocations: 47.12 kB / 1.015 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/0.9183, allocations: 0 / 1.015 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.001976/0.9202, allocations: 0.9861 MB / 1.016 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.9203, allocations: 59.97 kB / 1.016 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.9211, allocations: 0.6254 MB / 1.016 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.9211, allocations: 41.7 kB / 1.016 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.9214, allocations: 430.2 kB / 1.017 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.9217, allocations: 252.3 kB / 1.017 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.9219, allocations: 118.2 kB / 1.017 GB, free: 11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.9221, allocations: 390.7 kB / 1.018 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.9225, allocations: 273.2 kB / 1.018 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.923, allocations: 370.7 kB / 1.018 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.924, allocations: 0.6587 MB / 1.019 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9241, allocations: 0 / 1.019 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001228/0.9253, allocations: 0.7852 MB / 1.02 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.9253, allocations: 9.719 kB / 1.02 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9253, allocations: 0 / 1.02 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.9254, allocations: 4 kB / 1.02 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.926, allocations: 152 kB / 1.02 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.926, allocations: 4 kB / 1.02 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.9268, allocations: 52.14 kB / 1.02 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.9268, allocations: 23.94 kB / 1.02 GB, free: 8.238 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.0004335/0.9273, allocations: 285.6 kB / 1.02 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.9274, allocations: 83.06 kB / 1.02 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.9288, allocations: 0.8005 MB / 1.021 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9288, allocations: 8 kB / 1.021 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9288, allocations: 0 / 1.021 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/0.9299, allocations: 0.8152 MB / 1.022 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.9326, allocations: 1.848 MB / 1.024 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.9326, allocations: 3.938 kB / 1.024 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.9334, allocations: 171.8 kB / 1.024 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.9334, allocations: 5.875 kB / 1.024 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.9335, allocations: 15.98 kB / 1.024 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.9335, allocations: 4 kB / 1.024 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9335, allocations: 0 / 1.024 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.9354, allocations: 1.275 MB / 1.025 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.9358, allocations: 240 kB / 1.025 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.9359, allocations: 12 kB / 1.025 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.9366, allocations: 23.98 kB / 1.025 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.9367, allocations: 40.5 kB / 1.025 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.9368, allocations: 27.92 kB / 1.025 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005677/0.9373, allocations: 455 kB / 1.026 GB, free: 2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9373, allocations: 4 kB / 1.026 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009655/0.9383, allocations: 335.1 kB / 1.026 GB, free: 1.668 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.0003773/0.9387, allocations: 197.5 kB / 1.026 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.9403, allocations: 0.8242 MB / 1.027 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.9403, allocations: 0 / 1.027 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.9409, allocations: 371 kB / 1.027 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.9432, allocations: 0.5485 MB / 1.028 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.9468, allocations: 2.199 MB / 1.03 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.9475, allocations: 1.085 MB / 1.031 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.9478, allocations: 75.44 kB / 1.031 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.9478, allocations: 0 / 1.031 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.02306/0.9709, allocations: 15.28 MB / 1.046 GB, free: 13.31 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)