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.001094/0.001094, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 197.8 kB / 16.64 MB, free: 6.449 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.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.5559/0.5559, allocations: 95.48 MB / 365.3 MB, free: 9.828 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.001399/0.001399, allocations: 67.91 kB / 446.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2833, allocations: 69.08 MB / 0.5031 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4494/0.7327, allocations: 163.1 MB / 0.6624 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.7399, allocations: 6.503 MB / 0.6688 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.7406, allocations: 28.19 kB / 0.6688 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009723/0.7417, allocations: 447.5 kB / 0.6692 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.7439, allocations: 1.2 MB / 0.6704 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.7457, allocations: 0.8521 MB / 0.6712 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.7475, allocations: 2.219 MB / 0.6734 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007289/0.7483, allocations: 0.7253 MB / 0.6741 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.7496, allocations: 0.843 MB / 0.6749 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.7506, allocations: 0.8514 MB / 0.6758 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.7507, allocations: 79.69 kB / 0.6758 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.7522, allocations: 0.7408 MB / 0.6766 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.7524, allocations: 219.8 kB / 0.6768 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.7528, allocations: 480.9 kB / 0.6772 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.7541, allocations: 1.33 MB / 0.6785 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7541, allocations: 0 / 0.6785 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7541, allocations: 1.938 kB / 0.6785 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.7541, allocations: 0 / 0.6785 GB, free: 15.36 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.001766/0.7559, allocations: 1.202 MB / 0.6797 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7559, allocations: 10.61 kB / 0.6797 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.7562, allocations: 102.3 kB / 0.6798 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.7572, allocations: 0.6916 MB / 0.6805 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.7573, allocations: 42.25 kB / 0.6805 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.7574, allocations: 65.5 kB / 0.6806 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000969/0.7583, allocations: 0.6566 MB / 0.6812 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.7584, allocations: 0 / 0.6812 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.7584, allocations: 22.91 kB / 0.6813 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.7584, allocations: 12.88 kB / 0.6813 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/0.7592, allocations: 0.5038 MB / 0.6818 GB, free: 14.2 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.002926/0.7621, allocations: 2.807 MB / 0.6845 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.7629, allocations: 445 kB / 0.6849 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.7635, allocations: 314.2 kB / 0.6852 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.7645, allocations: 1.247 MB / 0.6864 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.7645, allocations: 49.11 kB / 0.6865 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=51): time 1.743e-06/0.7645, allocations: 0 / 0.6865 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005175/0.7697, allocations: 2.194 MB / 0.6886 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.7698, allocations: 65.59 kB / 0.6887 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.7704, allocations: 0.5661 MB / 0.6892 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.7705, allocations: 38.23 kB / 0.6893 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.7707, allocations: 343.2 kB / 0.6896 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7709, allocations: 216.9 kB / 0.6898 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.771, allocations: 102.9 kB / 0.6899 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7712, allocations: 385 kB / 0.6903 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.7716, allocations: 208.8 kB / 0.6905 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.772, allocations: 307.8 kB / 0.6908 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.7729, allocations: 0.5401 MB / 0.6913 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.7729, allocations: 2.531 kB / 0.6913 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001224/0.7741, allocations: 0.8581 MB / 0.6921 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7741, allocations: 11.11 kB / 0.6922 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7742, allocations: 6.812 kB / 0.6922 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.7743, allocations: 47.05 kB / 0.6922 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.775, allocations: 147.8 kB / 0.6923 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.777, allocations: 2.81 MB / 0.6951 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.7774, allocations: 31.27 kB / 0.6951 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.7774, allocations: 19.84 kB / 0.6951 GB, free: 4.488 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 (74): * Single equations (assignments): 72 * 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.0003026/0.7777, allocations: 224.6 kB / 0.6954 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.7779, allocations: 70.44 kB / 0.6954 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.7793, allocations: 0.9072 MB / 0.6963 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.7793, allocations: 7.75 kB / 0.6963 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7793, allocations: 3.984 kB / 0.6963 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7794, allocations: 0 / 0.6963 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.7815, allocations: 1.709 MB / 0.698 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7816, allocations: 0 / 0.698 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/0.7822, allocations: 130.8 kB / 0.6981 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.7823, allocations: 51.3 kB / 0.6982 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.7824, allocations: 17.03 kB / 0.6982 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.7842, allocations: 2.828 MB / 0.7009 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7842, allocations: 6.75 kB / 0.7009 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.7858, allocations: 1.22 MB / 0.7021 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.7861, allocations: 211 kB / 0.7023 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.7862, allocations: 14.19 kB / 0.7023 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.7866, allocations: 19.95 kB / 0.7024 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7868, allocations: 44.06 kB / 0.7024 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.7868, allocations: 23.7 kB / 0.7024 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004313/0.7872, allocations: 408.7 kB / 0.7028 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7873, allocations: 4 kB / 0.7028 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007535/0.788, allocations: 291.8 kB / 0.7031 GB, free: 14.01 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.0005241/0.7885, allocations: 328.7 kB / 0.7034 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.7897, allocations: 0.7888 MB / 0.7042 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7897, allocations: 0 / 0.7042 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.7904, allocations: 0.5378 MB / 0.7047 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.792, allocations: 429.9 kB / 0.7051 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.7949, allocations: 1.711 MB / 0.7068 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.7954, allocations: 0.9644 MB / 0.7077 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.7959, allocations: 156.7 kB / 0.7079 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.7961, allocations: 82.34 kB / 0.708 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.7961, allocations: 0 / 0.708 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.02522/0.8213, allocations: 17 MB / 0.7246 GB, free: 10.14 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)