Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007411/0.0007413, allocations: 97.72 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.004786/0.004786, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.588/1.588, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.669/2.669, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.081, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2905/1.372, allocations: 197.1 MB / 1.148 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01594/1.388, allocations: 7.403 MB / 1.155 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/1.39, allocations: 27.81 kB / 1.155 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002704/1.393, allocations: 0.6064 MB / 1.155 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009411/1.402, allocations: 2.261 MB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005515/1.408, allocations: 1.119 MB / 1.159 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007747/1.416, allocations: 4.167 MB / 1.163 GB, free: 9.902 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/1.418, allocations: 0.7896 MB / 1.164 GB, free: 9.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/1.421, allocations: 0.8479 MB / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/1.424, allocations: 0.9641 MB / 1.165 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004114/1.424, allocations: 48 kB / 1.165 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006113/1.43, allocations: 2.478 MB / 1.168 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008492/1.431, allocations: 386.8 kB / 1.168 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/1.433, allocations: 0.6159 MB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006318/1.439, allocations: 2.465 MB / 1.171 GB, free: 1.266 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.44, allocations: 0 / 1.171 GB, free: 1.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.935e-06/1.44, allocations: 4 kB / 1.171 GB, free: 1.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.348e-05/1.44, allocations: 0 / 1.171 GB, free: 1.262 MB / 0.92 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.00476/1.444, allocations: 1.402 MB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/1.444, allocations: 12.03 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000482/1.445, allocations: 143.2 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/1.448, allocations: 374.1 kB / 1.173 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/1.45, allocations: 0.8084 MB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/1.451, allocations: 65.98 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/1.451, allocations: 87.91 kB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/1.453, allocations: 1.049 MB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/1.454, allocations: 3.938 kB / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.454, allocations: 36 kB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.832e-05/1.454, allocations: 45.97 kB / 1.175 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/1.456, allocations: 0.89 MB / 1.176 GB, free: 12.22 MB / 0.9356 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.00725/1.463, allocations: 4.28 MB / 1.18 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.465, allocations: 0.7088 MB / 1.181 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009376/1.466, allocations: 451 kB / 1.181 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009444/1.467, allocations: 0.6732 MB / 1.182 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.485e-05/1.467, allocations: 47.05 kB / 1.182 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.847e-06/1.467, allocations: 4 kB / 1.182 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.002677/1.469, allocations: 0.994 MB / 1.183 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/1.47, allocations: 59.97 kB / 1.183 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.471, allocations: 0.6295 MB / 1.184 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.471, allocations: 45.69 kB / 1.184 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/1.471, allocations: 432 kB / 1.184 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/1.472, allocations: 252.3 kB / 1.184 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/1.472, allocations: 57.69 kB / 1.184 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002482/1.472, allocations: 390.7 kB / 1.185 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/1.473, allocations: 281.2 kB / 1.185 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/1.473, allocations: 361 kB / 1.185 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.475, allocations: 0.6626 MB / 1.186 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.475, allocations: 0 / 1.186 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001803/1.477, allocations: 0.7969 MB / 1.187 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.477, allocations: 7.938 kB / 1.187 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.477, allocations: 8.188 kB / 1.187 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.477, allocations: 4 kB / 1.187 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/1.477, allocations: 139.8 kB / 1.187 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/1.477, allocations: 11.92 kB / 1.187 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/1.479, allocations: 119.3 kB / 1.187 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/1.479, allocations: 20 kB / 1.187 GB, free: 216 kB / 0.9356 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.0007083/1.479, allocations: 297.6 kB / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/1.48, allocations: 82.97 kB / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.482, allocations: 0.7997 MB / 1.188 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.482, allocations: 8 kB / 1.188 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.482, allocations: 3.938 kB / 1.188 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.483, allocations: 0.8231 MB / 1.189 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/1.486, allocations: 1.856 MB / 1.191 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.486, allocations: 0 / 1.191 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/1.487, allocations: 167.8 kB / 1.191 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.487, allocations: 7.938 kB / 1.191 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/1.487, allocations: 16 kB / 1.191 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.487, allocations: 3.984 kB / 1.191 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.487, allocations: 0 / 1.191 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.489, allocations: 1.205 MB / 1.192 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/1.49, allocations: 240 kB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/1.49, allocations: 20 kB / 1.193 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/1.491, allocations: 72.72 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.491, allocations: 48.44 kB / 1.193 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/1.491, allocations: 23.98 kB / 1.193 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006601/1.492, allocations: 455 kB / 1.193 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/1.492, allocations: 0 / 1.193 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00108/1.493, allocations: 339.2 kB / 1.193 GB, free: 9.617 MB / 0.9512 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.002459/1.495, allocations: 1.85 MB / 1.195 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.497, allocations: 0.6718 MB / 1.196 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.497, allocations: 0 / 1.196 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/1.497, allocations: 379.3 kB / 1.196 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.5, allocations: 0.5256 MB / 1.197 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.514, allocations: 7.712 MB / 1.204 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/1.515, allocations: 1.089 MB / 1.205 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001153/1.516, allocations: 235.4 kB / 1.206 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/1.517, allocations: 359.3 kB / 1.206 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of SimCode: time 4.178e-06/1.517, allocations: 0 / 1.206 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/1.568, allocations: 23.92 MB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.569, allocations: 205.2 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/4.26, allocations: 4 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)