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.001335/0.001335, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00135/0.00135, allocations: 195.3 kB / 16.25 MB, free: 6.621 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002085, allocations: 279.2 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 94.72 kB / 0.5947 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.5099/0.6593, allocations: 242.7 MB / 0.9166 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.6797, allocations: 14.33 MB / 0.9306 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.6824, allocations: 63.62 kB / 0.9307 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.6856, allocations: 1.124 MB / 0.9318 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.6964, allocations: 4.391 MB / 0.9361 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004669/0.7011, allocations: 1.714 MB / 0.9377 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007218/0.7083, allocations: 6.222 MB / 0.9438 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.7109, allocations: 1.941 MB / 0.9457 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.7143, allocations: 2.188 MB / 0.9478 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.7178, allocations: 2.157 MB / 0.95 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.7182, allocations: 248 kB / 0.9502 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007825/0.726, allocations: 4.719 MB / 0.9548 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.7272, allocations: 1.048 MB / 0.9558 GB, free: 12.81 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.7293, allocations: 1.443 MB / 0.9572 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008579/0.7379, allocations: 5.543 MB / 0.9626 GB, free: 5.805 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.738, allocations: 3.938 kB / 0.9626 GB, free: 5.801 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.738, allocations: 0 / 0.9626 GB, free: 5.801 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.105e-05/0.738, allocations: 0 / 0.9626 GB, free: 5.801 MB / 0.67 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.006654/0.7447, allocations: 3.2 MB / 0.9658 GB, free: 2.543 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7448, allocations: 8.031 kB / 0.9658 GB, free: 2.535 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004211/0.749, allocations: 0.6722 MB / 0.9664 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.7516, allocations: 1.558 MB / 0.968 GB, free: 252 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.7518, allocations: 151.8 kB / 0.9681 GB, free: 100 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/0.7522, allocations: 192 kB / 0.9683 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004388/0.7566, allocations: 2.425 MB / 0.9707 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.7566, allocations: 0 / 0.9707 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.7568, allocations: 83.98 kB / 0.9707 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-05/0.7569, allocations: 84.28 kB / 0.9708 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.7608, allocations: 2.62 MB / 0.9734 GB, free: 10.66 MB / 0.6856 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.0104/0.7712, allocations: 8.018 MB / 0.9812 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.7744, allocations: 2.368 MB / 0.9835 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.7762, allocations: 1.339 MB / 0.9848 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.7776, allocations: 1.552 MB / 0.9863 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.7776, allocations: 72.38 kB / 0.9864 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=222): time 4.028e-06/0.7776, allocations: 0 / 0.9864 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226): time 0.01144/0.7891, allocations: 6.859 MB / 0.9931 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.7892, allocations: 158.5 kB / 0.9933 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.7907, allocations: 1.213 MB / 0.9944 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.7909, allocations: 69.7 kB / 0.9945 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/0.7914, allocations: 0.7529 MB / 0.9952 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/0.792, allocations: 0.7623 MB / 0.996 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005137/0.7926, allocations: 351.4 kB / 0.9963 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.7927, allocations: 309.1 kB / 0.9966 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.794, allocations: 0.8666 MB / 0.9975 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.7955, allocations: 1.128 MB / 0.9986 GB, free: 15.7 MB / 0.7169 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.0714/0.8669, allocations: 11.71 MB / 1.01 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.8669, allocations: 0 / 1.01 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005035/0.872, allocations: 2.404 MB / 1.012 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.872, allocations: 8 kB / 1.012 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.8721, allocations: 5.375 kB / 1.012 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.8721, allocations: 12 kB / 1.012 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.874, allocations: 431.4 kB / 1.013 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-05/0.8741, allocations: 12 kB / 1.013 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.8765, allocations: 191.7 kB / 1.013 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.8768, allocations: 71.98 kB / 1.013 GB, free: 0.75 MB / 0.7169 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.8782, allocations: 0.5642 MB / 1.014 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007553/0.8789, allocations: 197.9 kB / 1.014 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/0.8839, allocations: 2.526 MB / 1.016 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.8839, allocations: 20 kB / 1.016 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.884, allocations: 4 kB / 1.016 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003183/0.8872, allocations: 2.105 MB / 1.018 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/0.897, allocations: 5.357 MB / 1.024 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.8971, allocations: 4.047 kB / 1.024 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.8992, allocations: 467.9 kB / 1.024 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.083e-05/0.8993, allocations: 12 kB / 1.024 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.8995, allocations: 63.98 kB / 1.024 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-05/0.8995, allocations: 19.94 kB / 1.024 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.8995, allocations: 11.94 kB / 1.024 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.9056, allocations: 4.078 MB / 1.028 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.9069, allocations: 0.4985 MB / 1.029 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/0.9074, allocations: 48 kB / 1.029 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/0.9094, allocations: 154.5 kB / 1.029 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.9097, allocations: 153.4 kB / 1.029 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.9099, allocations: 83.97 kB / 1.029 GB, free: 120 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001368/0.9113, allocations: 0.8357 MB / 1.03 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9113, allocations: 0 / 1.03 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002218/0.9135, allocations: 0.6835 MB / 1.03 GB, free: 14.59 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008577/0.9144, allocations: 364 kB / 1.031 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005939/0.9203, allocations: 3.342 MB / 1.034 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.9204, allocations: 4 kB / 1.034 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.922, allocations: 1.18 MB / 1.035 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/0.9279, allocations: 1.176 MB / 1.036 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008798/0.9367, allocations: 5.762 MB / 1.042 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.9385, allocations: 1.655 MB / 1.044 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003308/0.9419, allocations: 0.7625 MB / 1.044 GB, free: 248 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.9428, allocations: 175.4 kB / 1.045 GB, free: 72 kB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/0.9428, allocations: 0 / 1.045 GB, free: 72 kB / 0.7481 GB Notification: Performance of Templates: time 0.355/1.298, allocations: 41.15 MB / 1.085 GB, free: 285.4 MB / 0.7637 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)