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.001195/0.001195, allocations: 104.8 kB / 16.29 MB, free: 6.414 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.00128/0.00128, allocations: 189.3 kB / 17.22 MB, free: 5.953 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.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.746/1.746, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001581/0.001581, allocations: 74.97 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2346, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6205/0.8552, allocations: 201.9 MB / 0.9813 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.8652, allocations: 7.321 MB / 0.9884 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.8666, allocations: 35.81 kB / 0.9884 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.8685, allocations: 0.6992 MB / 0.9891 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.8742, allocations: 2.345 MB / 0.9914 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.8774, allocations: 1.277 MB / 0.9927 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003662/0.881, allocations: 2.877 MB / 0.9955 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.8825, allocations: 0.9539 MB / 0.9964 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.8844, allocations: 1.013 MB / 0.9974 GB, free: 15.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.8866, allocations: 0.9672 MB / 0.9983 GB, free: 14.99 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003318/0.887, allocations: 112.6 kB / 0.9984 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.8912, allocations: 2.132 MB / 1.001 GB, free: 12.74 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006259/0.8918, allocations: 446.8 kB / 1.001 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009799/0.8928, allocations: 0.6728 MB / 1.002 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.8971, allocations: 2.4 MB / 1.004 GB, free: 9.223 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8971, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8971, allocations: 0.5625 kB / 1.004 GB, free: 9.223 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.8971, allocations: 0 / 1.004 GB, free: 9.223 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.003078/0.9002, allocations: 1.623 MB / 1.006 GB, free: 7.547 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.9003, allocations: 12.03 kB / 1.006 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.9026, allocations: 366.3 kB / 1.006 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.9037, allocations: 0.8044 MB / 1.007 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.9038, allocations: 66.58 kB / 1.007 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.9039, allocations: 88 kB / 1.007 GB, free: 6.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.9055, allocations: 1.042 MB / 1.008 GB, free: 5.102 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9055, allocations: 4 kB / 1.008 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.9056, allocations: 36 kB / 1.008 GB, free: 5.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.9056, allocations: 41.98 kB / 1.008 GB, free: 5.023 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.907, allocations: 0.8829 MB / 1.009 GB, free: 4.141 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.004342/0.9114, allocations: 4.286 MB / 1.013 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.9124, allocations: 0.7018 MB / 1.014 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/0.9131, allocations: 447 kB / 1.014 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.9136, allocations: 0.6809 MB / 1.015 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9137, allocations: 43.06 kB / 1.015 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/0.9137, allocations: 0 / 1.015 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.00173/0.9154, allocations: 0.99 MB / 1.016 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.9155, allocations: 62.03 kB / 1.016 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.9161, allocations: 0.6254 MB / 1.016 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.9162, allocations: 41.7 kB / 1.016 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.9164, allocations: 428.1 kB / 1.017 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.9166, allocations: 248.3 kB / 1.017 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.9168, allocations: 118.2 kB / 1.017 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.917, allocations: 386.7 kB / 1.018 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.9174, allocations: 281.2 kB / 1.018 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.9179, allocations: 370.7 kB / 1.018 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.9188, allocations: 0.6548 MB / 1.019 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9188, allocations: 0 / 1.019 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001162/0.92, allocations: 0.7893 MB / 1.02 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.92, allocations: 12 kB / 1.02 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.92, allocations: 0 / 1.02 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.92, allocations: 4 kB / 1.02 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.9207, allocations: 139.8 kB / 1.02 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.9207, allocations: 8 kB / 1.02 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.9213, allocations: 63.05 kB / 1.02 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.9214, allocations: 23.94 kB / 1.02 GB, free: 8.168 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.0003533/0.9218, allocations: 289.6 kB / 1.02 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.9219, allocations: 79.06 kB / 1.02 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.9232, allocations: 0.7901 MB / 1.021 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.9232, allocations: 11.98 kB / 1.021 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9232, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009823/0.9242, allocations: 0.8152 MB / 1.022 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.9266, allocations: 1.844 MB / 1.024 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9267, allocations: 3.938 kB / 1.024 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.9274, allocations: 171.8 kB / 1.024 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.9275, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.9275, allocations: 20 kB / 1.024 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9275, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9275, allocations: 3.984 kB / 1.024 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.9292, allocations: 1.264 MB / 1.025 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.9296, allocations: 243.9 kB / 1.025 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.9297, allocations: 16 kB / 1.025 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.9303, allocations: 19.98 kB / 1.025 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9304, allocations: 52.5 kB / 1.025 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.9305, allocations: 19.94 kB / 1.025 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004895/0.931, allocations: 451 kB / 1.026 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.931, allocations: 0 / 1.026 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007876/0.9318, allocations: 343.1 kB / 1.026 GB, free: 1.605 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.0003279/0.9321, allocations: 199.2 kB / 1.026 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.9332, allocations: 0.6757 MB / 1.027 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9332, allocations: 0 / 1.027 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.9338, allocations: 371 kB / 1.027 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.9358, allocations: 0.5511 MB / 1.028 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.939, allocations: 2.109 MB / 1.03 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.9396, allocations: 1.092 MB / 1.031 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.9404, allocations: 221.3 kB / 1.031 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.9406, allocations: 75.42 kB / 1.031 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.9406, allocations: 8 kB / 1.031 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.8616/1.802, allocations: 18.34 MB / 1.049 GB, free: 10.36 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)