Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 107.3 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.001705/0.001705, allocations: 194.6 kB / 16.25 MB, free: 6.145 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 286.8 kB / 290.4 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9697/0.9697, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.00162, allocations: 97.62 kB / 0.5947 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1471, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5098/0.6569, allocations: 215.4 MB / 0.89 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03019/0.6871, allocations: 26.3 MB / 0.9156 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.6893, allocations: 23.88 kB / 0.9157 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.6923, allocations: 1.039 MB / 0.9167 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.6997, allocations: 2.959 MB / 0.9196 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.7036, allocations: 1.53 MB / 0.9211 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004555/0.7082, allocations: 3.86 MB / 0.9248 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.7099, allocations: 1.385 MB / 0.9262 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.7141, allocations: 2.265 MB / 0.9284 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.7162, allocations: 1.568 MB / 0.9299 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.7164, allocations: 124 kB / 0.93 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.7199, allocations: 1.878 MB / 0.9319 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007282/0.7206, allocations: 0.849 MB / 0.9327 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.7219, allocations: 1.146 MB / 0.9338 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004729/0.7266, allocations: 3.068 MB / 0.9368 GB, free: 320 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7266, allocations: 0 / 0.9368 GB, free: 320 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7266, allocations: 0 / 0.9368 GB, free: 320 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.7267, allocations: 0 / 0.9368 GB, free: 320 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003941/0.7306, allocations: 2.776 MB / 0.9395 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.7307, allocations: 12.03 kB / 0.9395 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.7325, allocations: 440.3 kB / 0.94 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.7346, allocations: 1.459 MB / 0.9414 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.521e-05/0.7347, allocations: 94.53 kB / 0.9415 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.7349, allocations: 143.8 kB / 0.9416 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.7371, allocations: 1.592 MB / 0.9432 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.7372, allocations: 15.94 kB / 0.9432 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.7373, allocations: 48 kB / 0.9432 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.974e-05/0.7374, allocations: 93.89 kB / 0.9433 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.739, allocations: 1.058 MB / 0.9444 GB, free: 8.312 MB / 0.6544 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.008007/0.747, allocations: 8.095 MB / 0.9523 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.7481, allocations: 0.7311 MB / 0.953 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.7485, allocations: 308.1 kB / 0.9533 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.7491, allocations: 0.6013 MB / 0.9539 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.7492, allocations: 50.48 kB / 0.9539 GB, free: 13.83 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.7492, allocations: 0 / 0.9539 GB, free: 13.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001617/0.7508, allocations: 0.9673 MB / 0.9549 GB, free: 12.86 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.7509, allocations: 158.2 kB / 0.955 GB, free: 12.66 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.7545, allocations: 3.096 MB / 0.958 GB, free: 9.555 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.7545, allocations: 37.7 kB / 0.9581 GB, free: 9.512 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008311/0.7554, allocations: 1.042 MB / 0.9591 GB, free: 8.461 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.7555, allocations: 181.3 kB / 0.9593 GB, free: 8.281 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.7557, allocations: 94.16 kB / 0.9593 GB, free: 8.184 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7558, allocations: 326 kB / 0.9597 GB, free: 7.859 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.7562, allocations: 221 kB / 0.9599 GB, free: 7.641 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.7566, allocations: 314.9 kB / 0.9602 GB, free: 7.305 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.7574, allocations: 0.5571 MB / 0.9607 GB, free: 6.715 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7574, allocations: 0 / 0.9607 GB, free: 6.715 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001166/0.7586, allocations: 0.7953 MB / 0.9615 GB, free: 5.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7586, allocations: 4 kB / 0.9615 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7586, allocations: 4 kB / 0.9615 GB, free: 5.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7587, allocations: 8.047 kB / 0.9615 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.7591, allocations: 108 kB / 0.9616 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.7591, allocations: 12 kB / 0.9616 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.76, allocations: 146.8 kB / 0.9618 GB, free: 5.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.7601, allocations: 23.98 kB / 0.9618 GB, free: 5.609 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0006706/0.7608, allocations: 0.5443 MB / 0.9623 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.7611, allocations: 221.2 kB / 0.9625 GB, free: 4.836 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.7623, allocations: 0.7976 MB / 0.9633 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7623, allocations: 7.984 kB / 0.9633 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7623, allocations: 4 kB / 0.9633 GB, free: 4.023 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.7623, allocations: 4 kB / 0.9633 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.765, allocations: 2.017 MB / 0.9653 GB, free: 1.926 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.765, allocations: 8.188 kB / 0.9653 GB, free: 1.918 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.7655, allocations: 103.8 kB / 0.9654 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.7655, allocations: 4 kB / 0.9654 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.7655, allocations: 12 kB / 0.9654 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.7655, allocations: 4 kB / 0.9654 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.7655, allocations: 7.938 kB / 0.9654 GB, free: 1.789 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.7671, allocations: 1.266 MB / 0.9667 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.7677, allocations: 390 kB / 0.967 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.7679, allocations: 16 kB / 0.967 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/0.7687, allocations: 84.08 kB / 0.9671 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.7688, allocations: 44.31 kB / 0.9672 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.7689, allocations: 20 kB / 0.9672 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002498/0.7714, allocations: 2.219 MB / 0.9693 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7714, allocations: 0 / 0.9693 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00108/0.7725, allocations: 471 kB / 0.9698 GB, free: 13.23 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.001214/0.7737, allocations: 0.5378 MB / 0.9703 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.7747, allocations: 0.6 MB / 0.9709 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7748, allocations: 0 / 0.9709 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.7752, allocations: 294.2 kB / 0.9712 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.7784, allocations: 0.8502 MB / 0.972 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.7842, allocations: 4.926 MB / 0.9768 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.7854, allocations: 1.636 MB / 0.9784 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001298/0.7867, allocations: 445.7 kB / 0.9789 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.787, allocations: 143.4 kB / 0.979 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of SimCode: time 8.676e-06/0.7871, allocations: 0 / 0.979 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of Templates: time 0.05497/0.842, allocations: 32.1 MB / 1.01 GB, free: 4.18 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)