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.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001558/0.001558, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002252/0.002252, allocations: 278.7 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9239/0.9239, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 100 kB / 0.5947 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1615, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5018/0.6634, allocations: 199.4 MB / 0.8743 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.6742, allocations: 7.341 MB / 0.8815 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.6761, allocations: 32.03 kB / 0.8815 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.6781, allocations: 0.6152 MB / 0.8821 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.6838, allocations: 2.266 MB / 0.8843 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.6867, allocations: 1.135 MB / 0.8855 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003401/0.6901, allocations: 2.911 MB / 0.8883 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.6913, allocations: 0.9288 MB / 0.8892 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.6928, allocations: 1.027 MB / 0.8902 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.6945, allocations: 1.028 MB / 0.8912 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.6946, allocations: 112.5 kB / 0.8913 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.6983, allocations: 2.224 MB / 0.8935 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.6988, allocations: 458.6 kB / 0.8939 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.6995, allocations: 0.6672 MB / 0.8946 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.7029, allocations: 2.539 MB / 0.8971 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7029, allocations: 0 / 0.8971 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7029, allocations: 0 / 0.8971 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.7029, allocations: 0 / 0.8971 GB, free: 9.207 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.003036/0.706, allocations: 1.632 MB / 0.8987 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.706, allocations: 12.03 kB / 0.8987 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.7084, allocations: 374.2 kB / 0.899 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.7097, allocations: 0.8046 MB / 0.8998 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.7097, allocations: 69.94 kB / 0.8999 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.7099, allocations: 84 kB / 0.9 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.7116, allocations: 1.043 MB / 0.901 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.7116, allocations: 7.938 kB / 0.901 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.7117, allocations: 36 kB / 0.901 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.7117, allocations: 41.98 kB / 0.9011 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.7133, allocations: 0.8861 MB / 0.9019 GB, free: 4.094 MB / 0.6075 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.005097/0.7184, allocations: 4.292 MB / 0.9061 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.7196, allocations: 0.6897 MB / 0.9068 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.7203, allocations: 455.6 kB / 0.9072 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.721, allocations: 0.6693 MB / 0.9079 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.721, allocations: 51.06 kB / 0.9079 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.721, allocations: 0 / 0.9079 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001834/0.7229, allocations: 0.99 MB / 0.9089 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.7229, allocations: 59.97 kB / 0.9089 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.7237, allocations: 0.6334 MB / 0.9096 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.7237, allocations: 37.7 kB / 0.9096 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.724, allocations: 440.1 kB / 0.91 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.7243, allocations: 244.3 kB / 0.9103 GB, free: 11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.7245, allocations: 122.2 kB / 0.9104 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7247, allocations: 386.7 kB / 0.9107 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.7251, allocations: 277.2 kB / 0.911 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.7256, allocations: 369 kB / 0.9114 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.7266, allocations: 0.6587 MB / 0.912 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.7267, allocations: 7.938 kB / 0.912 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001343/0.728, allocations: 0.7891 MB / 0.9128 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.728, allocations: 8 kB / 0.9128 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.728, allocations: 1.938 kB / 0.9128 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7281, allocations: 4 kB / 0.9128 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.7287, allocations: 140 kB / 0.9129 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7287, allocations: 8 kB / 0.9129 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/0.7297, allocations: 119.3 kB / 0.913 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.7297, allocations: 24 kB / 0.9131 GB, free: 8.051 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.0003828/0.7301, allocations: 290.2 kB / 0.9133 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.7303, allocations: 86.97 kB / 0.9134 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.7317, allocations: 0.7976 MB / 0.9142 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7317, allocations: 8 kB / 0.9142 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7317, allocations: 0 / 0.9142 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.7328, allocations: 0.8113 MB / 0.915 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.7356, allocations: 1.86 MB / 0.9168 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.7356, allocations: 0 / 0.9168 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/0.7364, allocations: 163.8 kB / 0.917 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.7364, allocations: 11.88 kB / 0.917 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.7365, allocations: 19.97 kB / 0.917 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.7365, allocations: 9.5 kB / 0.917 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7365, allocations: 0 / 0.917 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.7383, allocations: 1.19 MB / 0.9182 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.7387, allocations: 247.8 kB / 0.9184 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7389, allocations: 23.98 kB / 0.9184 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.7396, allocations: 69.47 kB / 0.9185 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.7398, allocations: 44.5 kB / 0.9185 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.7398, allocations: 20 kB / 0.9186 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005496/0.7404, allocations: 455 kB / 0.919 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7404, allocations: 0 / 0.919 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009311/0.7413, allocations: 343.2 kB / 0.9193 GB, free: 1.484 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 (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.000336/0.7417, allocations: 187.1 kB / 0.9195 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.7432, allocations: 0.8281 MB / 0.9203 GB, free: 472 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7432, allocations: 0 / 0.9203 GB, free: 472 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.7438, allocations: 371 kB / 0.9207 GB, free: 104 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.7461, allocations: 0.5529 MB / 0.9212 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.7502, allocations: 2.554 MB / 0.9237 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.751, allocations: 1.093 MB / 0.9248 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.7519, allocations: 227.2 kB / 0.925 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.7522, allocations: 67.44 kB / 0.925 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.7522, allocations: 4 kB / 0.9251 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.03036/0.7826, allocations: 18.14 MB / 0.9428 GB, free: 9.711 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)