Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.001203/0.001203, allocations: 193.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 288.7 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.2 MB / 0.4985 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 93.19 kB / 0.5953 GB, free: 4.434 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 86.98 MB / 0.6803 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4326/0.597, allocations: 164.7 MB / 0.8411 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.6091, allocations: 8.452 MB / 0.8493 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.6108, allocations: 33.25 kB / 0.8494 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.6124, allocations: 0.4897 MB / 0.8498 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.6167, allocations: 1.438 MB / 0.8513 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.6192, allocations: 0.9081 MB / 0.8521 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004398/0.6236, allocations: 4.131 MB / 0.8562 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.6252, allocations: 1.299 MB / 0.8574 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.6285, allocations: 1.509 MB / 0.8589 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.6307, allocations: 1.566 MB / 0.8604 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.631, allocations: 188.3 kB / 0.8606 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.6333, allocations: 1.123 MB / 0.8617 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.6339, allocations: 0.6702 MB / 0.8624 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.635, allocations: 1.031 MB / 0.8634 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.6372, allocations: 2.081 MB / 0.8654 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6372, allocations: 0 / 0.8654 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6372, allocations: 3.938 kB / 0.8654 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.901e-05/0.6373, allocations: 0 / 0.8654 GB, free: 15.42 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004225/0.6415, allocations: 2.26 MB / 0.8676 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6415, allocations: 8.031 kB / 0.8676 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.642, allocations: 202.7 kB / 0.8678 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.6439, allocations: 1.17 MB / 0.869 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.644, allocations: 115 kB / 0.8691 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.6442, allocations: 156 kB / 0.8692 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.6472, allocations: 1.915 MB / 0.8711 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.6472, allocations: 7.984 kB / 0.8711 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.6474, allocations: 64 kB / 0.8712 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.6474, allocations: 36 kB / 0.8712 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.6512, allocations: 2.474 MB / 0.8736 GB, free: 6.879 MB / 0.6231 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.008552/0.6598, allocations: 6.094 MB / 0.8796 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.6634, allocations: 2.8 MB / 0.8823 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.6654, allocations: 1.417 MB / 0.8837 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/0.667, allocations: 1.742 MB / 0.8854 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.667, allocations: 56.56 kB / 0.8854 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=237): time 3.617e-06/0.667, allocations: 0 / 0.8854 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=237): time 0.005405/0.6725, allocations: 3.442 MB / 0.8888 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.6725, allocations: 81.41 kB / 0.8889 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/0.6735, allocations: 0.7627 MB / 0.8896 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6736, allocations: 61.7 kB / 0.8897 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.674, allocations: 490.1 kB / 0.8901 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000612/0.6746, allocations: 0.7892 MB / 0.8909 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/0.6751, allocations: 347.6 kB / 0.8913 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.6752, allocations: 301.1 kB / 0.8915 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.6766, allocations: 0.9019 MB / 0.8924 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.6782, allocations: 1.125 MB / 0.8935 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.6815, allocations: 2.223 MB / 0.8957 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6815, allocations: 0 / 0.8957 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003911/0.6854, allocations: 2.436 MB / 0.8981 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6855, allocations: 10.17 kB / 0.8981 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.6855, allocations: 4 kB / 0.8981 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.6855, allocations: 15.94 kB / 0.8981 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.6872, allocations: 438.8 kB / 0.8985 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.739e-05/0.6872, allocations: 12 kB / 0.8985 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.6885, allocations: 210.4 kB / 0.8987 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.6886, allocations: 75.98 kB / 0.8988 GB, free: 12.11 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007161/0.6894, allocations: 438 kB / 0.8992 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.6898, allocations: 138.3 kB / 0.8993 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/0.6945, allocations: 2.734 MB / 0.902 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.6945, allocations: 24 kB / 0.902 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.6945, allocations: 0 / 0.902 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003468/0.698, allocations: 2.389 MB / 0.9044 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/0.705, allocations: 4.288 MB / 0.9086 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.7051, allocations: 3.938 kB / 0.9086 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.7067, allocations: 407.4 kB / 0.909 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.7074, allocations: 101.7 kB / 0.9091 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.7076, allocations: 51.98 kB / 0.9091 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007922/0.7084, allocations: 1.124 MB / 0.9102 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7084, allocations: 0 / 0.9102 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006425/0.7148, allocations: 4.057 MB / 0.9142 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.7158, allocations: 478.5 kB / 0.9146 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.7162, allocations: 40 kB / 0.9147 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.7174, allocations: 115.8 kB / 0.9148 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.7177, allocations: 137.8 kB / 0.9149 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.7179, allocations: 67.98 kB / 0.915 GB, free: 11.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007935/0.7187, allocations: 0.538 MB / 0.9155 GB, free: 10.76 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7187, allocations: 0 / 0.9155 GB, free: 10.76 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001686/0.7204, allocations: 0.6398 MB / 0.9161 GB, free: 10.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009096/0.7213, allocations: 388.1 kB / 0.9165 GB, free: 9.738 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009636/0.731, allocations: 4.851 MB / 0.9212 GB, free: 4.887 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.731, allocations: 0 / 0.9212 GB, free: 4.887 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.7333, allocations: 1.285 MB / 0.9225 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/0.7366, allocations: 0.5772 MB / 0.923 GB, free: 3.055 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/0.7435, allocations: 4.523 MB / 0.9275 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.7446, allocations: 1.335 MB / 0.9288 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009692/0.7456, allocations: 183.4 kB / 0.9289 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of SimCode: time 8.01e-07/0.7456, allocations: 4 kB / 0.9289 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of Templates: time 0.03946/0.785, allocations: 31.31 MB / 0.9595 GB, free: 13.71 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)