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.006451/0.006451, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001407/0.001407, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.462/1.462, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.5909/0.5909, allocations: 95.49 MB / 365.4 MB, free: 9.695 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.002674/0.002674, allocations: 76.55 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1525, allocations: 69.1 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4849/0.6374, allocations: 181.8 MB / 0.7486 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.6507, allocations: 8.977 MB / 0.7574 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.6524, allocations: 39.81 kB / 0.7574 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.6543, allocations: 0.7492 MB / 0.7581 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.6592, allocations: 1.962 MB / 0.76 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.6621, allocations: 1.216 MB / 0.7612 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005879/0.6679, allocations: 5.624 MB / 0.7667 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.6703, allocations: 1.919 MB / 0.7686 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.6742, allocations: 2.233 MB / 0.7708 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.6772, allocations: 2.192 MB / 0.7729 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.6776, allocations: 280 kB / 0.7732 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.6805, allocations: 1.435 MB / 0.7746 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.6812, allocations: 0.8883 MB / 0.7755 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.6826, allocations: 1.393 MB / 0.7768 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.687, allocations: 3.734 MB / 0.7805 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6871, allocations: 0 / 0.7805 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6871, allocations: 0 / 0.7805 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.223e-05/0.6871, allocations: 0 / 0.7805 GB, free: 7.918 MB / 0.5919 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.006396/0.6935, allocations: 2.924 MB / 0.7833 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6936, allocations: 15.98 kB / 0.7833 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.6942, allocations: 246.2 kB / 0.7836 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.6968, allocations: 1.301 MB / 0.7848 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.6969, allocations: 156 kB / 0.785 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.6972, allocations: 207.9 kB / 0.7852 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/0.7013, allocations: 2.684 MB / 0.7878 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/0.7014, allocations: 0 / 0.7878 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.7016, allocations: 84 kB / 0.7879 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.7016, allocations: 48 kB / 0.7879 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.7066, allocations: 3.291 MB / 0.7912 GB, free: 12.76 MB / 0.6075 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.01174/0.7183, allocations: 8.338 MB / 0.7993 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005565/0.7239, allocations: 3.802 MB / 0.803 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.7268, allocations: 2.03 MB / 0.805 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.7283, allocations: 1.399 MB / 0.8064 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.7283, allocations: 77.11 kB / 0.8064 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=323): time 4.258e-06/0.7284, allocations: 3.938 kB / 0.8064 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=338): time 0.0178/0.7462, allocations: 9.42 MB / 0.8156 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.7462, allocations: 86.06 kB / 0.8157 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7473, allocations: 0.8146 MB / 0.8165 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.7474, allocations: 85.7 kB / 0.8166 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.7478, allocations: 0.5619 MB / 0.8171 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008244/0.7486, allocations: 1.14 MB / 0.8183 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/0.7494, allocations: 474.6 kB / 0.8187 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.7495, allocations: 305.1 kB / 0.819 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.7516, allocations: 1.314 MB / 0.8203 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.7539, allocations: 1.602 MB / 0.8218 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/0.7589, allocations: 3.16 MB / 0.8249 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7589, allocations: 0 / 0.8249 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006032/0.765, allocations: 3.8 MB / 0.8286 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.765, allocations: 8 kB / 0.8286 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.765, allocations: 7.984 kB / 0.8287 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.7653, allocations: 82.64 kB / 0.8287 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.7682, allocations: 0.6319 MB / 0.8293 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.7711, allocations: 4.223 MB / 0.8335 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.7727, allocations: 71.98 kB / 0.8335 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.7729, allocations: 104.1 kB / 0.8336 GB, free: 15.5 MB / 0.6544 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 (370): * Single equations (assignments): 367 * 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.0009043/0.7738, allocations: 0.5284 MB / 0.8342 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.7742, allocations: 193.7 kB / 0.8343 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006508/0.7807, allocations: 4.242 MB / 0.8385 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.7807, allocations: 40 kB / 0.8385 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7807, allocations: 0 / 0.8385 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.7808, allocations: 23.92 kB / 0.8385 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.7911, allocations: 7.057 MB / 0.8454 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7912, allocations: 0 / 0.8454 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/0.794, allocations: 0.6211 MB / 0.846 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.7943, allocations: 86.41 kB / 0.8461 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.7945, allocations: 79.91 kB / 0.8462 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.7974, allocations: 4.215 MB / 0.8503 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/0.7974, allocations: 4.031 kB / 0.8503 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/0.8061, allocations: 6.078 MB / 0.8563 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.8066, allocations: 238.7 kB / 0.8565 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.8069, allocations: 68 kB / 0.8566 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.8082, allocations: 67.98 kB / 0.8566 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/0.8086, allocations: 206.6 kB / 0.8568 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/0.8088, allocations: 112 kB / 0.8569 GB, free: 6.781 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006895/0.8095, allocations: 0.554 MB / 0.8575 GB, free: 6.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8095, allocations: 0 / 0.8575 GB, free: 6.215 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001818/0.8114, allocations: 0.8397 MB / 0.8583 GB, free: 5.375 MB / 0.67 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.0007863/0.8121, allocations: 462.7 kB / 0.8587 GB, free: 4.914 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00546/0.8176, allocations: 3.768 MB / 0.8624 GB, free: 1.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8176, allocations: 0 / 0.8624 GB, free: 1.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.8206, allocations: 2.231 MB / 0.8646 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.8239, allocations: 0.8432 MB / 0.8654 GB, free: 14 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.8324, allocations: 5.346 MB / 0.8706 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.8336, allocations: 1.576 MB / 0.8722 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0031/0.8367, allocations: 0.9459 MB / 0.8731 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/0.8375, allocations: 227.4 kB / 0.8733 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.8375, allocations: 0 / 0.8733 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of Templates: time 0.339/1.177, allocations: 42.9 MB / 0.9152 GB, free: 260.5 MB / 0.7012 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)