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.0009234/0.0009235, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007975/0.007975, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.702/1.702, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.6354/0.6354, allocations: 95.64 MB / 366.4 MB, free: 10.3 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.0006393/0.0006394, allocations: 20 kB / 447.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3926, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5612/0.9539, allocations: 178.3 MB / 0.6797 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.9692, allocations: 9.14 MB / 0.6887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.9727, allocations: 50.97 kB / 0.6887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.9756, allocations: 0.6394 MB / 0.6893 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006906/0.9825, allocations: 1.854 MB / 0.6911 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.9865, allocations: 1.085 MB / 0.6922 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009652/0.9961, allocations: 7.466 MB / 0.6995 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.9995, allocations: 1.57 MB / 0.701 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005772/1.005, allocations: 1.884 MB / 0.7029 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005406/1.011, allocations: 2.178 MB / 0.705 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006713/1.011, allocations: 138.5 kB / 0.7051 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005511/1.017, allocations: 1.353 MB / 0.7065 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/1.018, allocations: 0.7204 MB / 0.7072 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002926/1.021, allocations: 1.267 MB / 0.7084 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007854/1.029, allocations: 3.563 MB / 0.7119 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.026e-06/1.029, allocations: 0 / 0.7119 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.115e-06/1.029, allocations: 0 / 0.7119 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001362/1.029, allocations: 0 / 0.7119 GB, free: 6.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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.008001/1.037, allocations: 2.613 MB / 0.7144 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/1.037, allocations: 15.98 kB / 0.7144 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.039, allocations: 246.1 kB / 0.7147 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/1.042, allocations: 1.31 MB / 0.716 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.042, allocations: 154.6 kB / 0.7161 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/1.042, allocations: 207.9 kB / 0.7163 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/1.047, allocations: 2.676 MB / 0.7189 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/1.047, allocations: 6.531 kB / 0.7189 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/1.048, allocations: 84 kB / 0.719 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/1.048, allocations: 48 kB / 0.719 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005418/1.053, allocations: 3.293 MB / 0.7223 GB, free: 12.07 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.01239/1.065, allocations: 8.328 MB / 0.7304 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00563/1.071, allocations: 3.789 MB / 0.7341 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/1.074, allocations: 2.032 MB / 0.7361 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.076, allocations: 1.41 MB / 0.7375 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.076, allocations: 77.09 kB / 0.7375 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=323): time 5.981e-06/1.076, allocations: 0 / 0.7375 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.02061/1.096, allocations: 9.475 MB / 0.7468 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.096, allocations: 86.06 kB / 0.7469 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/1.098, allocations: 0.7912 MB / 0.7476 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003702/1.098, allocations: 81.7 kB / 0.7477 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/1.099, allocations: 0.5735 MB / 0.7483 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.1, allocations: 1.123 MB / 0.7494 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/1.101, allocations: 235.7 kB / 0.7496 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.101, allocations: 301.1 kB / 0.7499 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/1.103, allocations: 1.302 MB / 0.7512 GB, free: 13.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/1.106, allocations: 1.596 MB / 0.7527 GB, free: 12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005864/1.112, allocations: 3.155 MB / 0.7558 GB, free: 8.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.112, allocations: 0 / 0.7558 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.00721/1.119, allocations: 3.776 MB / 0.7595 GB, free: 4.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/1.119, allocations: 8 kB / 0.7595 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.119, allocations: 4 kB / 0.7595 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/1.12, allocations: 82.66 kB / 0.7596 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/1.123, allocations: 0.6281 MB / 0.7602 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/1.126, allocations: 3.937 MB / 0.764 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.129, allocations: 187.8 kB / 0.7642 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005781/1.129, allocations: 104 kB / 0.7643 GB, free: 15.64 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.001807/1.131, allocations: 0.5209 MB / 0.7648 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007798/1.132, allocations: 193.8 kB / 0.765 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008649/1.141, allocations: 4.248 MB / 0.7692 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/1.141, allocations: 36 kB / 0.7692 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/1.141, allocations: 0 / 0.7692 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/1.141, allocations: 15.94 kB / 0.7692 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.154, allocations: 7.064 MB / 0.7761 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.154, allocations: 0 / 0.7761 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.157, allocations: 0.6224 MB / 0.7767 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/1.157, allocations: 80.31 kB / 0.7768 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.157, allocations: 75.97 kB / 0.7769 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/1.161, allocations: 3.926 MB / 0.7807 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.161, allocations: 4.062 kB / 0.7807 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.171, allocations: 6.084 MB / 0.7866 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.173, allocations: 258.7 kB / 0.7869 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006506/1.173, allocations: 64 kB / 0.7869 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.176, allocations: 147.8 kB / 0.7871 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/1.176, allocations: 214.5 kB / 0.7873 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/1.176, allocations: 104 kB / 0.7874 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008929/1.177, allocations: 0.5423 MB / 0.7879 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/1.177, allocations: 4 kB / 0.7879 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003414/1.181, allocations: 0.8241 MB / 0.7887 GB, free: 5.953 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.001302/1.182, allocations: 455.3 kB / 0.7892 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006913/1.189, allocations: 3.733 MB / 0.7928 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.189, allocations: 4.062 kB / 0.7928 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003581/1.193, allocations: 2.23 MB / 0.795 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/1.197, allocations: 0.7873 MB / 0.7958 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.209, allocations: 6.526 MB / 0.8021 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.21, allocations: 1.58 MB / 0.8037 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004833/1.215, allocations: 0.9576 MB / 0.8046 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.217, allocations: 219.4 kB / 0.8048 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2.024e-06/1.217, allocations: 0 / 0.8048 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.07572/1.292, allocations: 38.99 MB / 0.8429 GB, free: 14.71 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: