Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.0008434, allocations: 92 kB / 15.36 MB, free: 0.7344 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.005351/0.005351, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 263.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.96/0.96, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004434, allocations: 19.06 kB / 0.5987 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5169/0.7075, allocations: 197.1 MB / 0.8776 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.7177, allocations: 7.415 MB / 0.8848 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.7188, allocations: 28.44 kB / 0.8848 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.7203, allocations: 0.5993 MB / 0.8854 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.7256, allocations: 2.265 MB / 0.8876 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.7283, allocations: 1.117 MB / 0.8887 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004171/0.7325, allocations: 4.169 MB / 0.8928 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.7336, allocations: 0.7779 MB / 0.8936 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.7349, allocations: 0.8479 MB / 0.8944 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.7366, allocations: 0.967 MB / 0.8953 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.7367, allocations: 48 kB / 0.8954 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.7408, allocations: 2.478 MB / 0.8978 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.7413, allocations: 386.8 kB / 0.8982 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007063/0.742, allocations: 0.612 MB / 0.8988 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.7454, allocations: 2.465 MB / 0.9012 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7454, allocations: 0 / 0.9012 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7454, allocations: 4 kB / 0.9012 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.7455, allocations: 0 / 0.9012 GB, free: 2.578 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002771/0.7482, allocations: 1.41 MB / 0.9025 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7483, allocations: 12.03 kB / 0.9026 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.7507, allocations: 374.2 kB / 0.9029 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.7519, allocations: 0.8084 MB / 0.9037 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.752, allocations: 69.92 kB / 0.9038 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.7521, allocations: 87.98 kB / 0.9039 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.7538, allocations: 1.045 MB / 0.9049 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.7538, allocations: 4 kB / 0.9049 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.7539, allocations: 36 kB / 0.9049 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.754, allocations: 41.98 kB / 0.905 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.7555, allocations: 0.8861 MB / 0.9058 GB, free: 13.68 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.004645/0.7602, allocations: 4.299 MB / 0.91 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.7613, allocations: 0.6897 MB / 0.9107 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007345/0.7621, allocations: 451.6 kB / 0.9111 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.7627, allocations: 0.6888 MB / 0.9118 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.7627, allocations: 47.12 kB / 0.9118 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/0.7627, allocations: 0 / 0.9118 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001893/0.7646, allocations: 0.994 MB / 0.9128 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.7647, allocations: 55.97 kB / 0.9129 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.7655, allocations: 0.6411 MB / 0.9135 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.7655, allocations: 41.7 kB / 0.9135 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.7658, allocations: 424.1 kB / 0.9139 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.7661, allocations: 252.3 kB / 0.9142 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.7662, allocations: 57.69 kB / 0.9142 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7664, allocations: 394.7 kB / 0.9146 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.7669, allocations: 277.2 kB / 0.9149 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.7674, allocations: 365 kB / 0.9152 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.7684, allocations: 0.6626 MB / 0.9159 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7684, allocations: 0 / 0.9159 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001334/0.7698, allocations: 0.7969 MB / 0.9166 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7698, allocations: 4 kB / 0.9166 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7698, allocations: 3.938 kB / 0.9167 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7698, allocations: 12.19 kB / 0.9167 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.7705, allocations: 147.8 kB / 0.9168 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.7705, allocations: 4 kB / 0.9168 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/0.7714, allocations: 115.3 kB / 0.9169 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.7715, allocations: 23.98 kB / 0.9169 GB, free: 1.664 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0004254/0.7719, allocations: 286.2 kB / 0.9172 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7721, allocations: 86.97 kB / 0.9173 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.7735, allocations: 0.8037 MB / 0.9181 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.7735, allocations: 8 kB / 0.9181 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7735, allocations: 0 / 0.9181 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/0.7746, allocations: 0.8192 MB / 0.9189 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.7774, allocations: 1.864 MB / 0.9207 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7774, allocations: 0 / 0.9207 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/0.7782, allocations: 167.8 kB / 0.9209 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.7782, allocations: 7.938 kB / 0.9209 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.7783, allocations: 12 kB / 0.9209 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.7783, allocations: 8 kB / 0.9209 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7783, allocations: 0 / 0.9209 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.7801, allocations: 1.194 MB / 0.9221 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.7804, allocations: 263.7 kB / 0.9223 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.7806, allocations: 16 kB / 0.9223 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.7813, allocations: 70.34 kB / 0.9224 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.7815, allocations: 44.5 kB / 0.9224 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.7815, allocations: 23.98 kB / 0.9225 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005372/0.7821, allocations: 455 kB / 0.9229 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7821, allocations: 0 / 0.9229 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008297/0.7829, allocations: 343.1 kB / 0.9232 GB, free: 11.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.0003118/0.7832, allocations: 194 kB / 0.9234 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.7844, allocations: 0.6798 MB / 0.9241 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7844, allocations: 0 / 0.9241 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.785, allocations: 379 kB / 0.9244 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.7875, allocations: 0.5216 MB / 0.9249 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.7911, allocations: 2.718 MB / 0.9276 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.7918, allocations: 1.092 MB / 0.9287 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009306/0.7927, allocations: 223.4 kB / 0.9289 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.7929, allocations: 71.44 kB / 0.9289 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.7929, allocations: 0 / 0.9289 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of Templates: time 0.02818/0.8211, allocations: 17.34 MB / 0.9459 GB, free: 4.07 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)