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.002219/0.002219, allocations: 105.4 kB / 16.35 MB, free: 5.824 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.002095/0.002095, allocations: 189.6 kB / 17.29 MB, free: 5.48 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.802/1.802, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002692/0.002692, allocations: 290.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 93.2 kB / 0.5966 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2916, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8733/1.165, allocations: 202 MB / 0.8788 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0147/1.18, allocations: 7.381 MB / 0.886 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/1.182, allocations: 39.81 kB / 0.8861 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/1.185, allocations: 0.6992 MB / 0.8867 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008669/1.194, allocations: 2.403 MB / 0.8891 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/1.198, allocations: 1.248 MB / 0.8903 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005447/1.204, allocations: 2.918 MB / 0.8931 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/1.205, allocations: 0.9376 MB / 0.8941 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/1.207, allocations: 1.012 MB / 0.8951 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/1.21, allocations: 0.9702 MB / 0.896 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/1.21, allocations: 108 kB / 0.8961 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005966/1.216, allocations: 2.135 MB / 0.8982 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008476/1.217, allocations: 446.8 kB / 0.8986 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/1.218, allocations: 0.6689 MB / 0.8993 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005916/1.224, allocations: 2.4 MB / 0.9016 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/1.224, allocations: 0 / 0.9016 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.829e-06/1.224, allocations: 3.984 kB / 0.9016 GB, free: 13.11 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.336e-05/1.224, allocations: 0 / 0.9016 GB, free: 13.11 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.004356/1.228, allocations: 1.625 MB / 0.9032 GB, free: 11.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.228, allocations: 15.91 kB / 0.9032 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/1.231, allocations: 374.2 kB / 0.9036 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/1.233, allocations: 0.8513 MB / 0.9044 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/1.233, allocations: 65.94 kB / 0.9045 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.233, allocations: 84 kB / 0.9045 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/1.235, allocations: 1.046 MB / 0.9056 GB, free: 8.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/1.235, allocations: 0 / 0.9056 GB, free: 8.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/1.235, allocations: 36 kB / 0.9056 GB, free: 8.895 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-05/1.235, allocations: 41.98 kB / 0.9056 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/1.237, allocations: 0.89 MB / 0.9065 GB, free: 7.961 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.006153/1.243, allocations: 4.292 MB / 0.9107 GB, free: 3.312 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.244, allocations: 0.7065 MB / 0.9114 GB, free: 2.602 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/1.245, allocations: 447 kB / 0.9118 GB, free: 2.164 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/1.246, allocations: 0.6771 MB / 0.9125 GB, free: 1.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/1.246, allocations: 39.12 kB / 0.9125 GB, free: 1.293 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 3.566e-06/1.246, allocations: 0 / 0.9125 GB, free: 1.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.002177/1.248, allocations: 0.9977 MB / 0.9135 GB, free: 300 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.248, allocations: 55.97 kB / 0.9135 GB, free: 228 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/1.249, allocations: 0.6412 MB / 0.9142 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/1.249, allocations: 37.7 kB / 0.9142 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/1.249, allocations: 428.1 kB / 0.9146 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/1.25, allocations: 252.3 kB / 0.9149 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.25, allocations: 122.2 kB / 0.915 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.25, allocations: 390.7 kB / 0.9153 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/1.251, allocations: 269.2 kB / 0.9156 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/1.251, allocations: 365 kB / 0.916 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.252, allocations: 0.6665 MB / 0.9166 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.252, allocations: 1.125 kB / 0.9166 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001337/1.254, allocations: 0.7814 MB / 0.9174 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.254, allocations: 14.95 kB / 0.9174 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.254, allocations: 0 / 0.9174 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/1.254, allocations: 8.172 kB / 0.9174 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/1.254, allocations: 143.8 kB / 0.9175 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.254, allocations: 8 kB / 0.9175 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/1.255, allocations: 55.42 kB / 0.9176 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/1.255, allocations: 20 kB / 0.9176 GB, free: 11.98 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.0004958/1.256, allocations: 293.5 kB / 0.9179 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/1.256, allocations: 83.05 kB / 0.918 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/1.257, allocations: 0.7894 MB / 0.9187 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.257, allocations: 11.94 kB / 0.9187 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.257, allocations: 0.875 kB / 0.9187 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/1.258, allocations: 0.8307 MB / 0.9196 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/1.261, allocations: 1.845 MB / 0.9214 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.261, allocations: 0 / 0.9214 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/1.262, allocations: 163.8 kB / 0.9215 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.262, allocations: 7.938 kB / 0.9215 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/1.262, allocations: 20 kB / 0.9215 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/1.262, allocations: 7.984 kB / 0.9216 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.262, allocations: 0 / 0.9216 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/1.264, allocations: 1.195 MB / 0.9227 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.265, allocations: 247.8 kB / 0.923 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.265, allocations: 12 kB / 0.923 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/1.265, allocations: 26.22 kB / 0.923 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.266, allocations: 44.5 kB / 0.923 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/1.266, allocations: 23.98 kB / 0.9231 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005877/1.266, allocations: 459 kB / 0.9235 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.266, allocations: 0 / 0.9235 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009564/1.267, allocations: 339.2 kB / 0.9238 GB, free: 5.469 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.000444/1.268, allocations: 203.1 kB / 0.924 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.269, allocations: 0.6795 MB / 0.9247 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.269, allocations: 4 kB / 0.9247 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005576/1.27, allocations: 367 kB / 0.925 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.272, allocations: 0.549 MB / 0.9256 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/1.276, allocations: 2.148 MB / 0.9277 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/1.277, allocations: 1.089 MB / 0.9287 GB, free: 392 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009806/1.278, allocations: 231.2 kB / 0.9289 GB, free: 156 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/1.278, allocations: 71.44 kB / 0.929 GB, free: 84 kB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.278, allocations: 0 / 0.929 GB, free: 84 kB / 0.6856 GB Notification: Performance of Templates: time 0.03883/1.317, allocations: 18.27 MB / 0.9469 GB, free: 14.11 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)