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.0008346/0.0008348, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006626/0.006626, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.6247/0.6247, allocations: 95.62 MB / 366.4 MB, free: 10.22 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.0005572/0.0005571, allocations: 16 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3119, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.473/0.785, allocations: 159.9 MB / 0.6618 GB, free: 340 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00899/0.794, allocations: 6.663 MB / 0.6683 GB, free: 176 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.7962, allocations: 44.31 kB / 0.6683 GB, free: 172 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.7978, allocations: 373.6 kB / 0.6687 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.8013, allocations: 1.115 MB / 0.6698 GB, free: 108 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.8037, allocations: 0.7844 MB / 0.6705 GB, free: 72 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.8073, allocations: 3.172 MB / 0.6736 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.8084, allocations: 0.5893 MB / 0.6742 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.81, allocations: 0.6986 MB / 0.6749 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.8113, allocations: 0.8554 MB / 0.6757 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.8115, allocations: 34.44 kB / 0.6758 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.8132, allocations: 0.7335 MB / 0.6765 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.8135, allocations: 167.8 kB / 0.6766 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.8141, allocations: 454 kB / 0.6771 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.8158, allocations: 1.275 MB / 0.6783 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.8159, allocations: 0 / 0.6783 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8159, allocations: 0 / 0.6783 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.204e-05/0.8159, allocations: 0 / 0.6783 GB, free: 15.82 MB / 0.4981 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.001959/0.8179, allocations: 1.041 MB / 0.6793 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8179, allocations: 15.58 kB / 0.6793 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.8183, allocations: 106 kB / 0.6794 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.8193, allocations: 0.6937 MB / 0.6801 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.8194, allocations: 43.84 kB / 0.6802 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.8195, allocations: 59.31 kB / 0.6802 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.8205, allocations: 0.6582 MB / 0.6809 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.8205, allocations: 3.578 kB / 0.6809 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.8206, allocations: 26.58 kB / 0.6809 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.8206, allocations: 11.19 kB / 0.6809 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/0.8214, allocations: 0.503 MB / 0.6814 GB, free: 14.69 MB / 0.4981 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.003036/0.8245, allocations: 2.791 MB / 0.6841 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.8252, allocations: 449.5 kB / 0.6845 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.8258, allocations: 304.4 kB / 0.6848 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.8269, allocations: 1.248 MB / 0.6861 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.827, allocations: 39.31 kB / 0.6861 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=51): time 1.783e-06/0.827, allocations: 0 / 0.6861 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005757/0.8327, allocations: 2.234 MB / 0.6883 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.8328, allocations: 62.39 kB / 0.6883 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/0.8337, allocations: 0.5509 MB / 0.6889 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.8338, allocations: 39.48 kB / 0.6889 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.8341, allocations: 342.5 kB / 0.6892 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.8343, allocations: 222.3 kB / 0.6894 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.8344, allocations: 55 kB / 0.6895 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.8346, allocations: 377.2 kB / 0.6899 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.835, allocations: 204.7 kB / 0.6901 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.8355, allocations: 304.4 kB / 0.6903 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.8366, allocations: 0.5367 MB / 0.6909 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.8367, allocations: 0 / 0.6909 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001804/0.8385, allocations: 0.8425 MB / 0.6917 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.8385, allocations: 10.47 kB / 0.6917 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.8385, allocations: 3.531 kB / 0.6917 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.8388, allocations: 49.41 kB / 0.6918 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.8395, allocations: 145.4 kB / 0.6919 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.8418, allocations: 2.624 MB / 0.6945 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.8425, allocations: 54.5 kB / 0.6945 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.8426, allocations: 31.86 kB / 0.6945 GB, free: 6.242 MB / 0.4981 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 (72): * 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: 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.0003769/0.843, allocations: 221.9 kB / 0.6947 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.8431, allocations: 74.19 kB / 0.6948 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.8446, allocations: 0.8992 MB / 0.6957 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8447, allocations: 10 kB / 0.6957 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8447, allocations: 0 / 0.6957 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.8447, allocations: 3.984 kB / 0.6957 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.8475, allocations: 1.701 MB / 0.6974 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.8475, allocations: 0 / 0.6974 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.8481, allocations: 134.4 kB / 0.6975 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.8483, allocations: 49.84 kB / 0.6975 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.8483, allocations: 15.55 kB / 0.6976 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.8501, allocations: 2.629 MB / 0.7001 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8501, allocations: 0 / 0.7001 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.8518, allocations: 1.233 MB / 0.7013 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.8522, allocations: 219.8 kB / 0.7015 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.8523, allocations: 17.91 kB / 0.7016 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.8529, allocations: 54.97 kB / 0.7016 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.853, allocations: 49.48 kB / 0.7017 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.8531, allocations: 21.89 kB / 0.7017 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005198/0.8536, allocations: 395.9 kB / 0.7021 GB, free: 36 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8536, allocations: 4 kB / 0.7021 GB, free: 32 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009238/0.8545, allocations: 277.6 kB / 0.7023 GB, free: 15.98 MB / 0.5137 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.0006232/0.8552, allocations: 320.2 kB / 0.7026 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.8565, allocations: 0.7787 MB / 0.7034 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8565, allocations: 2.906 kB / 0.7034 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/0.8573, allocations: 0.5396 MB / 0.7039 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.8593, allocations: 407.2 kB / 0.7043 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.8626, allocations: 2.142 MB / 0.7064 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.8632, allocations: 0.962 MB / 0.7073 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007338/0.864, allocations: 167.5 kB / 0.7075 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.8642, allocations: 70.52 kB / 0.7076 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.8642, allocations: 0 / 0.7076 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.02687/0.8911, allocations: 15.91 MB / 0.7231 GB, free: 13.77 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: