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.001147/0.001147, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001144/0.001144, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.75 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.5793/0.5793, allocations: 95.47 MB / 364.8 MB, free: 10.12 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.0013/0.0013, allocations: 56.58 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 69.07 MB / 0.5017 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5022/0.8169, allocations: 162 MB / 0.6599 GB, free: 396 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.8271, allocations: 6.73 MB / 0.6665 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.8288, allocations: 44.38 kB / 0.6665 GB, free: 236 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.8301, allocations: 379.7 kB / 0.6669 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.8333, allocations: 1.122 MB / 0.668 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.8356, allocations: 0.7744 MB / 0.6687 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.8385, allocations: 3.161 MB / 0.6718 GB, free: 128 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007496/0.8392, allocations: 0.623 MB / 0.6724 GB, free: 24 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009486/0.8402, allocations: 0.7175 MB / 0.6731 GB, free: 24 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.8412, allocations: 0.8655 MB / 0.674 GB, free: 12 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.8413, allocations: 42.06 kB / 0.674 GB, free: 12 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.8429, allocations: 0.7396 MB / 0.6747 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.8431, allocations: 188.2 kB / 0.6749 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.8435, allocations: 437.7 kB / 0.6753 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.8448, allocations: 1.289 MB / 0.6766 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.8448, allocations: 2.562 kB / 0.6766 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8448, allocations: 0 / 0.6766 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.8448, allocations: 4 kB / 0.6766 GB, free: 15.68 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.002082/0.8469, allocations: 1.199 MB / 0.6778 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.847, allocations: 11.33 kB / 0.6778 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.8473, allocations: 104 kB / 0.6779 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.8484, allocations: 0.6913 MB / 0.6786 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.8485, allocations: 46.22 kB / 0.6786 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.8486, allocations: 61.91 kB / 0.6787 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.8497, allocations: 0.6506 MB / 0.6793 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.8497, allocations: 8.141 kB / 0.6793 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.8498, allocations: 22.06 kB / 0.6793 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.8498, allocations: 13.75 kB / 0.6793 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.8507, allocations: 0.5021 MB / 0.6798 GB, free: 14.54 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.003201/0.8539, allocations: 2.781 MB / 0.6825 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.8547, allocations: 450.8 kB / 0.683 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.8553, allocations: 308 kB / 0.6833 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/0.8563, allocations: 1.24 MB / 0.6845 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.8563, allocations: 38.5 kB / 0.6845 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=51): time 2.465e-06/0.8563, allocations: 0 / 0.6845 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00571/0.8621, allocations: 2.201 MB / 0.6867 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.8621, allocations: 70.94 kB / 0.6867 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.8628, allocations: 0.551 MB / 0.6873 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.8629, allocations: 36.23 kB / 0.6873 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.8632, allocations: 341.2 kB / 0.6876 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.8634, allocations: 216.6 kB / 0.6878 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.8636, allocations: 101.2 kB / 0.6879 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.8638, allocations: 381.3 kB / 0.6883 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.8642, allocations: 212.6 kB / 0.6885 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.8647, allocations: 298.6 kB / 0.6888 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.8655, allocations: 0.5262 MB / 0.6893 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8656, allocations: 4 kB / 0.6893 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001319/0.8669, allocations: 0.8444 MB / 0.6901 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8669, allocations: 5.094 kB / 0.6901 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8669, allocations: 6.062 kB / 0.6901 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.8671, allocations: 49.03 kB / 0.6902 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.8677, allocations: 148.8 kB / 0.6903 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.8697, allocations: 2.615 MB / 0.6929 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.8704, allocations: 61.05 kB / 0.6929 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.8705, allocations: 23.52 kB / 0.693 GB, free: 5.402 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.0003768/0.8708, allocations: 218.2 kB / 0.6932 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.871, allocations: 76.44 kB / 0.6932 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.8725, allocations: 0.9039 MB / 0.6941 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8725, allocations: 5 kB / 0.6941 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8725, allocations: 1.875 kB / 0.6941 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8725, allocations: 3.984 kB / 0.6941 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.8749, allocations: 1.701 MB / 0.6958 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8749, allocations: 0 / 0.6958 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.8755, allocations: 133.8 kB / 0.6959 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.8757, allocations: 42.03 kB / 0.696 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.8757, allocations: 25.16 kB / 0.696 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.8776, allocations: 2.63 MB / 0.6986 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8776, allocations: 224 / 0.6986 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.8794, allocations: 1.223 MB / 0.6998 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.8798, allocations: 202.2 kB / 0.6999 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.8799, allocations: 16.56 kB / 0.7 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.8804, allocations: 50.48 kB / 0.7 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.8806, allocations: 43.47 kB / 0.7001 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.8806, allocations: 26.8 kB / 0.7001 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005065/0.8811, allocations: 401.4 kB / 0.7005 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8811, allocations: 0 / 0.7005 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001123/0.8823, allocations: 275.7 kB / 0.7007 GB, free: 15.16 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.0005973/0.8829, allocations: 309.2 kB / 0.701 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.8842, allocations: 0.7854 MB / 0.7018 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8842, allocations: 0 / 0.7018 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.885, allocations: 0.5385 MB / 0.7023 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.8867, allocations: 407.9 kB / 0.7027 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.8904, allocations: 2.022 MB / 0.7047 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.891, allocations: 0.966 MB / 0.7056 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007242/0.8918, allocations: 162.1 kB / 0.7058 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.892, allocations: 67.42 kB / 0.7058 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of SimCode: time 4.688e-06/0.892, allocations: 4 kB / 0.7058 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.02916/0.9211, allocations: 16.03 MB / 0.7215 GB, free: 11.62 MB / 0.5294 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)