Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108.5 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.00125/0.00125, allocations: 192.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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 283.8 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8929/0.8929, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 94.53 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.167, allocations: 86.97 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.4665/0.6336, allocations: 185.9 MB / 0.8618 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009249/0.6429, allocations: 6.042 MB / 0.8677 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.644, allocations: 31.81 kB / 0.8678 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.6453, allocations: 461.7 kB / 0.8682 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.6496, allocations: 1.775 MB / 0.8699 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.652, allocations: 0.8765 MB / 0.8708 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.6553, allocations: 2.483 MB / 0.8732 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.6564, allocations: 0.7561 MB / 0.874 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.658, allocations: 0.8678 MB / 0.8748 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.6597, allocations: 0.8224 MB / 0.8756 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.6598, allocations: 88 kB / 0.8757 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.6629, allocations: 1.668 MB / 0.8773 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.6634, allocations: 367 kB / 0.8777 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006724/0.6641, allocations: 0.5522 MB / 0.8782 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.666, allocations: 1.446 MB / 0.8796 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.666, allocations: 0 / 0.8796 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.666, allocations: 0 / 0.8796 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.666, allocations: 4 kB / 0.8796 GB, free: 3.234 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002143/0.6682, allocations: 1.379 MB / 0.881 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6682, allocations: 8.031 kB / 0.881 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.6703, allocations: 318.5 kB / 0.8813 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6714, allocations: 0.7416 MB / 0.882 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.6714, allocations: 53.31 kB / 0.8821 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6715, allocations: 71.89 kB / 0.8821 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.6728, allocations: 0.7901 MB / 0.8829 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.6729, allocations: 0 / 0.8829 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.6729, allocations: 31.94 kB / 0.8829 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.673, allocations: 29.31 kB / 0.883 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6741, allocations: 0.6414 MB / 0.8836 GB, free: 15.07 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.003867/0.6779, allocations: 3.355 MB / 0.8869 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.6788, allocations: 0.4983 MB / 0.8873 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.6793, allocations: 290 kB / 0.8876 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.6799, allocations: 0.677 MB / 0.8883 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.6799, allocations: 42.25 kB / 0.8883 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 2.966e-06/0.6799, allocations: 0 / 0.8883 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.001654/0.6816, allocations: 0.7715 MB / 0.8891 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6816, allocations: 59.84 kB / 0.8891 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.6823, allocations: 0.598 MB / 0.8897 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.6824, allocations: 37.7 kB / 0.8898 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.6826, allocations: 384.2 kB / 0.8901 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.6828, allocations: 185.3 kB / 0.8903 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.6829, allocations: 98.16 kB / 0.8904 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6831, allocations: 378.8 kB / 0.8908 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.6834, allocations: 212.9 kB / 0.891 GB, free: 7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.6838, allocations: 279.2 kB / 0.8912 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.6846, allocations: 0.5153 MB / 0.8917 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6847, allocations: 4 kB / 0.8917 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001036/0.6857, allocations: 0.6152 MB / 0.8923 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6857, allocations: 4 kB / 0.8923 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6857, allocations: 4 kB / 0.8923 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6858, allocations: 4 kB / 0.8923 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.6863, allocations: 132 kB / 0.8925 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.6864, allocations: 7.938 kB / 0.8925 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.6871, allocations: 83.42 kB / 0.8926 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.6872, allocations: 20 kB / 0.8926 GB, free: 5.309 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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.0003389/0.6875, allocations: 257.7 kB / 0.8928 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.6877, allocations: 71.16 kB / 0.8929 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.6887, allocations: 0.6009 MB / 0.8935 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6887, allocations: 4 kB / 0.8935 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6887, allocations: 0 / 0.8935 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009051/0.6897, allocations: 0.8106 MB / 0.8943 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.6919, allocations: 1.554 MB / 0.8958 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6919, allocations: 3.984 kB / 0.8958 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007843/0.6927, allocations: 155.9 kB / 0.8959 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.6927, allocations: 7.938 kB / 0.8959 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.6928, allocations: 15.94 kB / 0.896 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.6928, allocations: 4.938 kB / 0.896 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6928, allocations: 0 / 0.896 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.6942, allocations: 0.9394 MB / 0.8969 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.6946, allocations: 224 kB / 0.8971 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.6947, allocations: 12.88 kB / 0.8971 GB, free: 452 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.6953, allocations: 49.08 kB / 0.8972 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.6954, allocations: 40.33 kB / 0.8972 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.6955, allocations: 19.98 kB / 0.8972 GB, free: 344 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004772/0.696, allocations: 427 kB / 0.8976 GB, free: 15.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.696, allocations: 4 kB / 0.8976 GB, free: 15.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007501/0.6967, allocations: 275.4 kB / 0.8979 GB, free: 15.65 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.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 (51): * Single equations (assignments): 51 * 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.0004719/0.6972, allocations: 217.2 kB / 0.8981 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.6983, allocations: 0.5795 MB / 0.8987 GB, free: 14.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6984, allocations: 4.312 kB / 0.8987 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.6988, allocations: 270.3 kB / 0.8989 GB, free: 14.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.7008, allocations: 498.4 kB / 0.8994 GB, free: 14.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.7038, allocations: 2.2 MB / 0.9015 GB, free: 11.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.7044, allocations: 1.024 MB / 0.9025 GB, free: 10.83 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.7047, allocations: 63.44 kB / 0.9026 GB, free: 10.77 MB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/0.7047, allocations: 0 / 0.9026 GB, free: 10.77 MB / 0.67 GB Notification: Performance of Templates: time 0.01826/0.7229, allocations: 12.95 MB / 0.9153 GB, free: 13.95 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)