Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001245/0.001245, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 277.4 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9653/0.9653, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 17.03 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.5708/0.7482, allocations: 224.1 MB / 0.9033 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.7706, allocations: 13.52 MB / 0.9165 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.774, allocations: 63.56 kB / 0.9166 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.7766, allocations: 0.8347 MB / 0.9174 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.7867, allocations: 3.394 MB / 0.9207 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.791, allocations: 1.351 MB / 0.922 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009524/0.8005, allocations: 7.264 MB / 0.9291 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.8036, allocations: 1.497 MB / 0.9306 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.8079, allocations: 1.84 MB / 0.9324 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.8111, allocations: 1.95 MB / 0.9343 GB, free: 428 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003449/0.8115, allocations: 108 kB / 0.9344 GB, free: 320 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007019/0.8185, allocations: 2.389 MB / 0.9367 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.8202, allocations: 0.8959 MB / 0.9376 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.8216, allocations: 0.52 MB / 0.9381 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006658/0.8283, allocations: 3.527 MB / 0.9415 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.8283, allocations: 0 / 0.9415 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.478e-06/0.8283, allocations: 0 / 0.9415 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.677e-05/0.8284, allocations: 3.938 kB / 0.9415 GB, free: 8.953 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.006044/0.8345, allocations: 2.764 MB / 0.9442 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8345, allocations: 12.03 kB / 0.9442 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.8387, allocations: 0.6761 MB / 0.9449 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.8418, allocations: 1.512 MB / 0.9464 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.8419, allocations: 143.8 kB / 0.9465 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.8423, allocations: 199.9 kB / 0.9467 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.8463, allocations: 2.405 MB / 0.9491 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.8463, allocations: 0 / 0.9491 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.8465, allocations: 83.94 kB / 0.9491 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.8467, allocations: 94.2 kB / 0.9492 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.8506, allocations: 2.593 MB / 0.9518 GB, free: 14.32 MB / 0.67 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.01323/0.8638, allocations: 8.045 MB / 0.9596 GB, free: 5.766 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0049/0.8687, allocations: 2.343 MB / 0.9619 GB, free: 3.395 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/0.8713, allocations: 1.331 MB / 0.9632 GB, free: 2.055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.8727, allocations: 1.564 MB / 0.9647 GB, free: 160 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.8728, allocations: 60.42 kB / 0.9648 GB, free: 92 kB / 0.67 GB Notification: Performance of pre-optimization done (n=222): time 3.586e-06/0.8728, allocations: 0 / 0.9648 GB, free: 92 kB / 0.67 GB Notification: Performance of matching and sorting (n=226): time 0.01155/0.8844, allocations: 6.847 MB / 0.9715 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.8845, allocations: 158.5 kB / 0.9716 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.886, allocations: 1.201 MB / 0.9728 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.8862, allocations: 69.7 kB / 0.9729 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.8867, allocations: 0.7529 MB / 0.9736 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.8874, allocations: 0.7661 MB / 0.9743 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.8875, allocations: 40 kB / 0.9744 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8877, allocations: 381.9 kB / 0.9747 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.889, allocations: 0.8628 MB / 0.9756 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.8905, allocations: 1.12 MB / 0.9767 GB, free: 3.629 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05782/0.9483, allocations: 9.669 MB / 0.9861 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.9483, allocations: 4 kB / 0.9861 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003945/0.9523, allocations: 2.392 MB / 0.9885 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.9523, allocations: 8 kB / 0.9885 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.9524, allocations: 4 kB / 0.9885 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.9524, allocations: 16 kB / 0.9885 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.9541, allocations: 427.4 kB / 0.9889 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/0.9541, allocations: 15.95 kB / 0.9889 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.9561, allocations: 187.8 kB / 0.9891 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.9562, allocations: 68 kB / 0.9892 GB, free: 6.809 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.9572, allocations: 0.5683 MB / 0.9897 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.9576, allocations: 197.7 kB / 0.9899 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.9616, allocations: 2.518 MB / 0.9924 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.9616, allocations: 24 kB / 0.9924 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9616, allocations: 0 / 0.9924 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002892/0.9645, allocations: 2.093 MB / 0.9944 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008173/0.9727, allocations: 5.34 MB / 0.9996 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.9728, allocations: 11.94 kB / 0.9997 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.9747, allocations: 464.9 kB / 1 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.9747, allocations: 27.98 kB / 1 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.9749, allocations: 55.98 kB / 1 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-05/0.9749, allocations: 19.94 kB / 1 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.9749, allocations: 7.938 kB / 1 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/0.9805, allocations: 4.063 MB / 1.004 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.9818, allocations: 0.4985 MB / 1.005 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.982, allocations: 52 kB / 1.005 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.9836, allocations: 157.5 kB / 1.005 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.9838, allocations: 149.5 kB / 1.005 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.984, allocations: 79.98 kB / 1.005 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001439/0.9854, allocations: 0.8278 MB / 1.006 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9854, allocations: 0 / 1.006 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002392/0.9878, allocations: 0.6797 MB / 1.007 GB, free: 4.699 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,dooDis.mExcBA,dooDis.mExcAB) * 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 (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008798/0.9887, allocations: 364 kB / 1.007 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003624/0.9924, allocations: 2.175 MB / 1.009 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9924, allocations: 4 kB / 1.009 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.9942, allocations: 1.168 MB / 1.01 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/0.9992, allocations: 1.138 MB / 1.011 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/1.008, allocations: 5.806 MB / 1.017 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.009, allocations: 1.656 MB / 1.019 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002741/1.012, allocations: 0.7626 MB / 1.019 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/1.013, allocations: 179.4 kB / 1.019 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/1.013, allocations: 0 / 1.019 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of Templates: time 0.3814/1.394, allocations: 38.05 MB / 1.057 GB, free: 271.4 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)