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.0008527/0.0008534, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008694/0.0008693, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.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.001765/0.001765, allocations: 267.1 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9652/0.9652, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 12.16 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 88.56 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5467/0.7344, allocations: 183.8 MB / 0.864 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.7458, allocations: 6.923 MB / 0.8708 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.7476, allocations: 31.41 kB / 0.8708 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.7495, allocations: 466 kB / 0.8713 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005898/0.7554, allocations: 1.76 MB / 0.873 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.7586, allocations: 0.852 MB / 0.8738 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004822/0.7634, allocations: 3.494 MB / 0.8772 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.7648, allocations: 0.6719 MB / 0.8779 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.767, allocations: 0.8801 MB / 0.8787 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.7689, allocations: 0.9112 MB / 0.8796 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.7691, allocations: 47.5 kB / 0.8797 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.7728, allocations: 1.059 MB / 0.8807 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005608/0.7733, allocations: 380.2 kB / 0.8811 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.7739, allocations: 264.2 kB / 0.8813 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.7769, allocations: 1.611 MB / 0.8829 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7769, allocations: 0 / 0.8829 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7769, allocations: 0 / 0.8829 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.7769, allocations: 0 / 0.8829 GB, free: 5.109 MB / 0.5919 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.003308/0.7802, allocations: 1.418 MB / 0.8843 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.7803, allocations: 12.02 kB / 0.8843 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.7828, allocations: 378.2 kB / 0.8847 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.7843, allocations: 0.7817 MB / 0.8854 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.7844, allocations: 64.56 kB / 0.8855 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.7846, allocations: 87.91 kB / 0.8856 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.7867, allocations: 1.045 MB / 0.8866 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.7867, allocations: 0 / 0.8866 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/0.7868, allocations: 40 kB / 0.8866 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-05/0.7869, allocations: 41.98 kB / 0.8867 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.7885, allocations: 0.8822 MB / 0.8875 GB, free: 248 kB / 0.5919 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.005519/0.794, allocations: 4.288 MB / 0.8917 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.7952, allocations: 0.6935 MB / 0.8924 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.7959, allocations: 451.6 kB / 0.8928 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.7967, allocations: 0.6771 MB / 0.8935 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.7967, allocations: 43.12 kB / 0.8935 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/0.7967, allocations: 0 / 0.8935 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001887/0.7986, allocations: 0.994 MB / 0.8945 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.7987, allocations: 55.97 kB / 0.8945 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.7995, allocations: 0.6333 MB / 0.8952 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.7995, allocations: 41.7 kB / 0.8952 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.7999, allocations: 432 kB / 0.8956 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.8001, allocations: 256.3 kB / 0.8959 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.8002, allocations: 8 kB / 0.8959 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.8004, allocations: 394.7 kB / 0.8962 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.8008, allocations: 277.2 kB / 0.8965 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.8014, allocations: 353 kB / 0.8968 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.802, allocations: 331.1 kB / 0.8972 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.802, allocations: 0 / 0.8972 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001247/0.8032, allocations: 0.7892 MB / 0.8979 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.8033, allocations: 7.938 kB / 0.8979 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8033, allocations: 4.188 kB / 0.8979 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8033, allocations: 11.98 kB / 0.898 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.8039, allocations: 139.8 kB / 0.8981 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.804, allocations: 7.984 kB / 0.8981 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/0.8048, allocations: 115.4 kB / 0.8982 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.8049, allocations: 20 kB / 0.8982 GB, free: 4.68 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004611/0.8054, allocations: 290.2 kB / 0.8985 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.8055, allocations: 86.97 kB / 0.8986 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.8069, allocations: 0.7997 MB / 0.8994 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8069, allocations: 8 kB / 0.8994 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8069, allocations: 0 / 0.8994 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.808, allocations: 0.8231 MB / 0.9002 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.8107, allocations: 1.858 MB / 0.902 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8107, allocations: 0 / 0.902 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007499/0.8115, allocations: 163.8 kB / 0.9021 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.8115, allocations: 4 kB / 0.9022 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.8115, allocations: 23.94 kB / 0.9022 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8116, allocations: 0 / 0.9022 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8116, allocations: 0 / 0.9022 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.8132, allocations: 1.197 MB / 0.9033 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.8137, allocations: 243.9 kB / 0.9036 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8138, allocations: 20 kB / 0.9036 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.8145, allocations: 69.52 kB / 0.9037 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.8146, allocations: 40.5 kB / 0.9037 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.8146, allocations: 27.98 kB / 0.9037 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005332/0.8152, allocations: 447 kB / 0.9042 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8152, allocations: 4 kB / 0.9042 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008725/0.8161, allocations: 335.2 kB / 0.9045 GB, free: 14.12 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/0.8164, allocations: 210.5 kB / 0.9047 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.8175, allocations: 0.6757 MB / 0.9053 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8175, allocations: 0 / 0.9053 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.8181, allocations: 371 kB / 0.9057 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.8202, allocations: 0.5295 MB / 0.9062 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.8243, allocations: 2.671 MB / 0.9088 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.825, allocations: 1.089 MB / 0.9099 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001057/0.8261, allocations: 227.2 kB / 0.9101 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.8263, allocations: 71.44 kB / 0.9102 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of SimCode: time 1.983e-06/0.8264, allocations: 0 / 0.9102 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of Templates: time 0.02821/0.8546, allocations: 16.83 MB / 0.9266 GB, free: 7.664 MB / 0.6387 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)