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.001608/0.001608, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001794/0.001794, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 279.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9236/0.9236, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 95.17 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 86.97 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.4442/0.5952, allocations: 202 MB / 0.8788 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.6055, allocations: 7.388 MB / 0.886 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.6066, allocations: 35.81 kB / 0.8861 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.6084, allocations: 0.6992 MB / 0.8867 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.6138, allocations: 2.393 MB / 0.8891 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.6166, allocations: 1.242 MB / 0.8903 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.6201, allocations: 2.917 MB / 0.8931 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.6213, allocations: 0.9517 MB / 0.8941 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.6229, allocations: 1.012 MB / 0.8951 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.6245, allocations: 0.9624 MB / 0.896 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.6246, allocations: 112 kB / 0.8961 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.6286, allocations: 2.132 MB / 0.8982 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.6291, allocations: 450.8 kB / 0.8986 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007328/0.6298, allocations: 0.669 MB / 0.8993 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.633, allocations: 2.407 MB / 0.9016 GB, free: 13.03 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6331, allocations: 0 / 0.9016 GB, free: 13.03 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6331, allocations: 0 / 0.9016 GB, free: 13.03 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.6331, allocations: 0 / 0.9016 GB, free: 13.03 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003072/0.6362, allocations: 1.621 MB / 0.9032 GB, free: 11.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.6362, allocations: 12.03 kB / 0.9032 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.6387, allocations: 370.2 kB / 0.9036 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.6401, allocations: 0.8513 MB / 0.9044 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.6402, allocations: 69.94 kB / 0.9045 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6403, allocations: 83.98 kB / 0.9045 GB, free: 9.938 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.642, allocations: 1.042 MB / 0.9056 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.642, allocations: 4 kB / 0.9056 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.6421, allocations: 35.98 kB / 0.9056 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.6422, allocations: 45.98 kB / 0.9056 GB, free: 8.777 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.6437, allocations: 0.8861 MB / 0.9065 GB, free: 7.887 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.00481/0.6485, allocations: 4.296 MB / 0.9107 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.6497, allocations: 0.7018 MB / 0.9114 GB, free: 2.531 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/0.6504, allocations: 451 kB / 0.9118 GB, free: 2.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.651, allocations: 0.6809 MB / 0.9125 GB, free: 1.262 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.6511, allocations: 43.12 kB / 0.9125 GB, free: 1.211 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/0.6511, allocations: 0 / 0.9125 GB, free: 1.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.001879/0.653, allocations: 0.99 MB / 0.9135 GB, free: 224 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.653, allocations: 59.97 kB / 0.9136 GB, free: 148 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.6538, allocations: 0.6372 MB / 0.9142 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.6538, allocations: 41.7 kB / 0.9142 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.6541, allocations: 428.1 kB / 0.9146 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.6543, allocations: 252.3 kB / 0.9149 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.6545, allocations: 118.2 kB / 0.915 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6547, allocations: 390.7 kB / 0.9153 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.6552, allocations: 273.2 kB / 0.9156 GB, free: 14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.6557, allocations: 369 kB / 0.916 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.6567, allocations: 0.6587 MB / 0.9166 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6567, allocations: 0 / 0.9166 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001267/0.658, allocations: 0.7891 MB / 0.9174 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.658, allocations: 4 kB / 0.9174 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.658, allocations: 7.984 kB / 0.9174 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6581, allocations: 4 kB / 0.9174 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.6587, allocations: 140 kB / 0.9175 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6587, allocations: 8 kB / 0.9175 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.6595, allocations: 55.42 kB / 0.9176 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.6595, allocations: 21.19 kB / 0.9176 GB, free: 11.91 MB / 0.6856 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.0004201/0.6599, allocations: 289.5 kB / 0.9179 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6601, allocations: 83.06 kB / 0.918 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.6615, allocations: 0.7981 MB / 0.9187 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.6615, allocations: 4 kB / 0.9187 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6615, allocations: 4 kB / 0.9187 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.6627, allocations: 0.823 MB / 0.9196 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.6653, allocations: 1.849 MB / 0.9214 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6654, allocations: 4 kB / 0.9214 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.6662, allocations: 167.8 kB / 0.9215 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.6662, allocations: 3.938 kB / 0.9215 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.6663, allocations: 20.5 kB / 0.9215 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.6663, allocations: 0 / 0.9215 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6663, allocations: 3.984 kB / 0.9215 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.6681, allocations: 1.192 MB / 0.9227 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.6685, allocations: 251.8 kB / 0.923 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6686, allocations: 16 kB / 0.923 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.6693, allocations: 21.88 kB / 0.923 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.6694, allocations: 40.5 kB / 0.923 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.6694, allocations: 27.98 kB / 0.9231 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005301/0.67, allocations: 451 kB / 0.9235 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/0.67, allocations: 0 / 0.9235 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007998/0.6708, allocations: 343.2 kB / 0.9238 GB, free: 5.402 MB / 0.6856 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.0003159/0.6711, allocations: 201.9 kB / 0.924 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.6723, allocations: 0.676 MB / 0.9247 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6723, allocations: 8 kB / 0.9247 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.6728, allocations: 371 kB / 0.925 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.6749, allocations: 0.5554 MB / 0.9256 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.6782, allocations: 2.156 MB / 0.9277 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.6789, allocations: 1.085 MB / 0.9287 GB, free: 316 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007381/0.6796, allocations: 231.2 kB / 0.929 GB, free: 80 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.6798, allocations: 71.44 kB / 0.929 GB, free: 8 kB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.6798, allocations: 0 / 0.929 GB, free: 8 kB / 0.6856 GB Notification: Performance of Templates: time 0.02969/0.7095, allocations: 18.27 MB / 0.9469 GB, free: 14.03 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)