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.006168/0.006168, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.00124/0.00124, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.6475/0.6475, allocations: 95.48 MB / 365.4 MB, free: 9.699 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.001426/0.001426, allocations: 71.89 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1504, allocations: 69.09 MB / 0.5711 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6286/0.7791, allocations: 181.8 MB / 0.7486 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.7981, allocations: 8.973 MB / 0.7574 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.8013, allocations: 39.81 kB / 0.7574 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.8048, allocations: 0.757 MB / 0.7581 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007591/0.8124, allocations: 1.958 MB / 0.7601 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.8165, allocations: 1.209 MB / 0.7612 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007881/0.8244, allocations: 5.637 MB / 0.7667 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004475/0.8289, allocations: 1.907 MB / 0.7686 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007017/0.836, allocations: 2.238 MB / 0.7708 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.8405, allocations: 2.188 MB / 0.7729 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.8418, allocations: 280 kB / 0.7732 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.8466, allocations: 1.443 MB / 0.7746 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.8484, allocations: 0.8766 MB / 0.7755 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003502/0.8519, allocations: 1.401 MB / 0.7768 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.859, allocations: 3.734 MB / 0.7805 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.859, allocations: 0 / 0.7805 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.859, allocations: 0 / 0.7805 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001183/0.8592, allocations: 0 / 0.7805 GB, free: 7.859 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.008127/0.8673, allocations: 2.92 MB / 0.7833 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.8674, allocations: 19.97 kB / 0.7833 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007472/0.8681, allocations: 242.2 kB / 0.7836 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.8705, allocations: 1.309 MB / 0.7849 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.8707, allocations: 156.1 kB / 0.785 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.871, allocations: 203.9 kB / 0.7852 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004621/0.8756, allocations: 2.673 MB / 0.7878 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.8757, allocations: 7.984 kB / 0.7878 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.8759, allocations: 83.98 kB / 0.7879 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.876, allocations: 52 kB / 0.7879 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/0.8811, allocations: 3.291 MB / 0.7912 GB, free: 12.7 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.0126/0.8938, allocations: 8.338 MB / 0.7993 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005323/0.8991, allocations: 3.802 MB / 0.803 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/0.9019, allocations: 2.03 MB / 0.805 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.9034, allocations: 1.402 MB / 0.8064 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/0.9035, allocations: 77.05 kB / 0.8064 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=323): time 5.831e-06/0.9035, allocations: 0 / 0.8064 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=338): time 0.01842/0.9219, allocations: 9.423 MB / 0.8156 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.922, allocations: 86.06 kB / 0.8157 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.9232, allocations: 0.8107 MB / 0.8165 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.9234, allocations: 85.7 kB / 0.8166 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.9238, allocations: 0.558 MB / 0.8171 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.9249, allocations: 1.132 MB / 0.8182 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007102/0.9256, allocations: 486.5 kB / 0.8187 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9258, allocations: 301.1 kB / 0.819 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.9278, allocations: 1.314 MB / 0.8203 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.9301, allocations: 1.61 MB / 0.8219 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/0.9346, allocations: 3.156 MB / 0.8249 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.9347, allocations: 0 / 0.8249 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005776/0.9404, allocations: 3.796 MB / 0.8286 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.9405, allocations: 6.969 kB / 0.8286 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.9405, allocations: 7.984 kB / 0.8287 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.9408, allocations: 90.58 kB / 0.8287 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.9436, allocations: 0.628 MB / 0.8294 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.9465, allocations: 4.23 MB / 0.8335 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.9482, allocations: 63.98 kB / 0.8335 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.9484, allocations: 108.1 kB / 0.8336 GB, free: 15.44 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.001062/0.9495, allocations: 0.5323 MB / 0.8342 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.9499, allocations: 185.8 kB / 0.8343 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006961/0.9568, allocations: 4.248 MB / 0.8385 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.226e-05/0.9569, allocations: 40 kB / 0.8385 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.9569, allocations: 0 / 0.8385 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/0.957, allocations: 15.94 kB / 0.8385 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.9672, allocations: 7.069 MB / 0.8455 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.9673, allocations: 0 / 0.8455 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/0.9702, allocations: 0.6202 MB / 0.8461 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.9704, allocations: 78.47 kB / 0.8461 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.9706, allocations: 79.92 kB / 0.8462 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.9734, allocations: 4.216 MB / 0.8503 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9734, allocations: 0 / 0.8503 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008495/0.9819, allocations: 6.082 MB / 0.8563 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.9824, allocations: 246.6 kB / 0.8565 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.9827, allocations: 64 kB / 0.8566 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.984, allocations: 67.98 kB / 0.8566 GB, free: 7.031 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/0.9844, allocations: 210.5 kB / 0.8568 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/0.9846, allocations: 116 kB / 0.8569 GB, free: 6.711 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007048/0.9853, allocations: 0.554 MB / 0.8575 GB, free: 6.145 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9853, allocations: 0 / 0.8575 GB, free: 6.145 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001927/0.9872, allocations: 0.828 MB / 0.8583 GB, free: 5.316 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.0008557/0.9881, allocations: 470.6 kB / 0.8587 GB, free: 4.848 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005672/0.9938, allocations: 3.764 MB / 0.8624 GB, free: 1.027 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.9938, allocations: 0 / 0.8624 GB, free: 1.027 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/0.997, allocations: 2.231 MB / 0.8646 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.001, allocations: 0.8283 MB / 0.8654 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008894/1.009, allocations: 5.348 MB / 0.8706 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.011, allocations: 1.584 MB / 0.8722 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003316/1.014, allocations: 0.9459 MB / 0.8731 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/1.015, allocations: 227.4 kB / 0.8733 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of SimCode: time 1.403e-06/1.015, allocations: 0 / 0.8733 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of Templates: time 0.3529/1.368, 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)