Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001728/0.001728, allocations: 192.8 kB / 16.13 MB, free: 6.699 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.647/1.647, allocations: 205.1 MB / 222 MB, free: 5.023 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.6436/0.6436, allocations: 95.49 MB / 364.8 MB, free: 10.17 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.001435/0.001435, allocations: 63.91 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3474, allocations: 69.08 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6149/0.9623, allocations: 180.7 MB / 0.6781 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.9769, allocations: 9.231 MB / 0.6872 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003638/0.9806, allocations: 54.75 kB / 0.6872 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.9828, allocations: 0.6508 MB / 0.6879 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005645/0.9885, allocations: 1.849 MB / 0.6897 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.9919, allocations: 1.086 MB / 0.6907 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008885/1.001, allocations: 7.471 MB / 0.698 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/1.004, allocations: 1.602 MB / 0.6996 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/1.009, allocations: 1.92 MB / 0.7015 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/1.014, allocations: 2.232 MB / 0.7036 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007683/1.015, allocations: 151.2 kB / 0.7038 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/1.02, allocations: 1.362 MB / 0.7051 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009984/1.021, allocations: 0.7521 MB / 0.7058 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002656/1.024, allocations: 1.263 MB / 0.7071 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00561/1.029, allocations: 3.621 MB / 0.7106 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/1.029, allocations: 11.98 kB / 0.7106 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/1.029, allocations: 0 / 0.7106 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.506e-05/1.029, allocations: 0 / 0.7106 GB, free: 4.133 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.007891/1.037, allocations: 2.917 MB / 0.7135 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.037, allocations: 15.98 kB / 0.7135 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/1.038, allocations: 254.1 kB / 0.7137 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/1.041, allocations: 1.31 MB / 0.715 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/1.041, allocations: 152.1 kB / 0.7152 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/1.041, allocations: 203.9 kB / 0.7153 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004639/1.046, allocations: 2.676 MB / 0.718 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/1.046, allocations: 4 kB / 0.718 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/1.046, allocations: 80 kB / 0.718 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.046, allocations: 48 kB / 0.7181 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005109/1.051, allocations: 3.299 MB / 0.7213 GB, free: 9.055 MB / 0.5137 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.01186/1.063, allocations: 8.29 MB / 0.7294 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/1.069, allocations: 3.791 MB / 0.7331 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/1.072, allocations: 2.025 MB / 0.7351 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/1.073, allocations: 1.404 MB / 0.7365 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/1.073, allocations: 73.09 kB / 0.7365 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=323): time 3.857e-06/1.073, allocations: 4 kB / 0.7365 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.01865/1.092, allocations: 9.418 MB / 0.7457 GB, free: 15.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.092, allocations: 86.06 kB / 0.7458 GB, free: 15.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.093, allocations: 0.7912 MB / 0.7466 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/1.093, allocations: 85.7 kB / 0.7467 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/1.094, allocations: 0.5602 MB / 0.7472 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.095, allocations: 1.126 MB / 0.7483 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007587/1.096, allocations: 486.4 kB / 0.7488 GB, free: 11.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.096, allocations: 301.1 kB / 0.7491 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/1.098, allocations: 1.302 MB / 0.7503 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/1.1, allocations: 1.594 MB / 0.7519 GB, free: 8.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004808/1.105, allocations: 3.148 MB / 0.755 GB, free: 5.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.105, allocations: 5.375 kB / 0.755 GB, free: 5.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.006106/1.111, allocations: 3.764 MB / 0.7586 GB, free: 1.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/1.111, allocations: 8 kB / 0.7587 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.111, allocations: 4 kB / 0.7587 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/1.112, allocations: 86.58 kB / 0.7587 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/1.114, allocations: 0.628 MB / 0.7594 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/1.117, allocations: 3.929 MB / 0.7632 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.12, allocations: 183.7 kB / 0.7634 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/1.12, allocations: 104 kB / 0.7635 GB, free: 12.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (367): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.001135/1.121, allocations: 0.5361 MB / 0.764 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/1.122, allocations: 185.8 kB / 0.7642 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007093/1.129, allocations: 4.245 MB / 0.7683 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.129, allocations: 36 kB / 0.7683 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.129, allocations: 0 / 0.7683 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/1.129, allocations: 15.94 kB / 0.7684 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/1.141, allocations: 7.057 MB / 0.7752 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.141, allocations: 0 / 0.7752 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/1.144, allocations: 0.6126 MB / 0.7758 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/1.144, allocations: 86.38 kB / 0.7759 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.145, allocations: 83.97 kB / 0.776 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/1.147, allocations: 3.926 MB / 0.7798 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.147, allocations: 0 / 0.7798 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00932/1.157, allocations: 6.077 MB / 0.7858 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007325/1.157, allocations: 238.7 kB / 0.786 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/1.158, allocations: 60 kB / 0.7861 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.159, allocations: 147.8 kB / 0.7862 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/1.16, allocations: 210.5 kB / 0.7864 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.16, allocations: 112.1 kB / 0.7865 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007368/1.161, allocations: 0.5384 MB / 0.787 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.161, allocations: 4 kB / 0.787 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002112/1.163, allocations: 0.8241 MB / 0.7878 GB, free: 2.543 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.p,volA.dynBal.medium.T,volB.dynBal.medium.p,volB.dynBal.medium.T,volC.dynBal.medium.p,volC.dynBal.medium.T,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (365): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (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.0008929/1.164, allocations: 452.1 kB / 0.7883 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005759/1.17, allocations: 3.737 MB / 0.7919 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.17, allocations: 0 / 0.7919 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003174/1.173, allocations: 2.23 MB / 0.7941 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/1.177, allocations: 0.7892 MB / 0.7949 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/1.186, allocations: 6.312 MB / 0.801 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.187, allocations: 1.576 MB / 0.8026 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003709/1.191, allocations: 0.9575 MB / 0.8035 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/1.192, allocations: 219.4 kB / 0.8037 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of SimCode: time 1.312e-06/1.192, allocations: 0 / 0.8037 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of Templates: time 0.06834/1.26, allocations: 39.42 MB / 0.8422 GB, free: 11.07 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)