Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_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.001203/0.001203, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001396/0.001396, allocations: 188.6 kB / 16.25 MB, free: 6.645 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.68/1.68, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.135/3.135, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 65.14 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5468, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.3669/0.9138, allocations: 199.4 MB / 1.247 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.088/2.002, allocations: 7.339 MB / 1.254 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/2.004, allocations: 33.09 kB / 1.254 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/2.007, allocations: 0.6223 MB / 1.255 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008432/2.015, allocations: 2.257 MB / 1.257 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004919/2.02, allocations: 1.136 MB / 1.258 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006306/2.026, allocations: 2.912 MB / 1.261 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/2.028, allocations: 0.9346 MB / 1.262 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/2.032, allocations: 1.034 MB / 1.263 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/2.036, allocations: 1.02 MB / 1.264 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/2.036, allocations: 110.5 kB / 1.264 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007152/2.043, allocations: 2.224 MB / 1.266 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/2.045, allocations: 454.4 kB / 1.267 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/2.047, allocations: 0.6644 MB / 1.267 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009641/2.056, allocations: 2.543 MB / 1.27 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/2.056, allocations: 1.031 kB / 1.27 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.827e-06/2.056, allocations: 0 / 1.27 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.025e-05/2.056, allocations: 1.406 kB / 1.27 GB, free: 2.125 MB / 0.9981 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.00562/2.062, allocations: 1.624 MB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/2.062, allocations: 11.11 kB / 1.271 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/2.062, allocations: 135.9 kB / 1.272 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/2.065, allocations: 373.3 kB / 1.272 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/2.067, allocations: 0.8148 MB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/2.068, allocations: 66.47 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/2.068, allocations: 90.14 kB / 1.273 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/2.071, allocations: 1.036 MB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/2.071, allocations: 5.969 kB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/2.071, allocations: 39.39 kB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/2.071, allocations: 51.81 kB / 1.274 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/2.073, allocations: 0.8791 MB / 1.275 GB, free: 16.73 MB / 1.014 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.01061/2.084, allocations: 4.278 MB / 1.279 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/2.085, allocations: 0.7051 MB / 1.28 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009469/2.086, allocations: 449.9 kB / 1.28 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000882/2.087, allocations: 0.6765 MB / 1.281 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/2.087, allocations: 44.47 kB / 1.281 GB, free: 13.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.897e-06/2.087, allocations: 0 / 1.281 GB, free: 13.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002501/2.09, allocations: 0.9994 MB / 1.282 GB, free: 13.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/2.09, allocations: 59 kB / 1.282 GB, free: 13.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/2.091, allocations: 0.6388 MB / 1.283 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/2.091, allocations: 37.23 kB / 1.283 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/2.091, allocations: 432.1 kB / 1.283 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/2.092, allocations: 248.5 kB / 1.283 GB, free: 12.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/2.092, allocations: 120 kB / 1.283 GB, free: 12.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002779/2.092, allocations: 394.9 kB / 1.284 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/2.093, allocations: 273 kB / 1.284 GB, free: 12.42 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/2.093, allocations: 363.2 kB / 1.284 GB, free: 12.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/2.095, allocations: 0.6596 MB / 1.285 GB, free: 12.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/2.095, allocations: 2.062 kB / 1.285 GB, free: 12.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001691/2.097, allocations: 0.7909 MB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/2.097, allocations: 9.938 kB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/2.097, allocations: 2.375 kB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/2.097, allocations: 5.5 kB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/2.097, allocations: 148.6 kB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/2.097, allocations: 5.094 kB / 1.286 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/2.099, allocations: 113.3 kB / 1.286 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/2.099, allocations: 20.97 kB / 1.286 GB, free: 12.19 MB / 1.014 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.0007929/2.1, allocations: 291.7 kB / 1.286 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/2.1, allocations: 87.78 kB / 1.286 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/2.102, allocations: 0.7975 MB / 1.287 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/2.102, allocations: 8.344 kB / 1.287 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/2.102, allocations: 0 / 1.287 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/2.103, allocations: 0.8173 MB / 1.288 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/2.107, allocations: 1.857 MB / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.107, allocations: 0 / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/2.108, allocations: 165.3 kB / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/2.108, allocations: 3.344 kB / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/2.108, allocations: 20.23 kB / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/2.108, allocations: 2.312 kB / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.108, allocations: 0 / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/2.11, allocations: 1.202 MB / 1.291 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/2.111, allocations: 241.1 kB / 1.291 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/2.111, allocations: 17.2 kB / 1.291 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/2.112, allocations: 76.62 kB / 1.291 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/2.112, allocations: 47.61 kB / 1.291 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/2.112, allocations: 22.56 kB / 1.292 GB, free: 11.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007807/2.113, allocations: 456.8 kB / 1.292 GB, free: 10.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/2.113, allocations: 0.875 kB / 1.292 GB, free: 10.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001477/2.115, allocations: 330.7 kB / 1.292 GB, free: 10.89 MB / 1.014 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.003096/2.118, allocations: 1.832 MB / 1.294 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002225/2.12, allocations: 0.8234 MB / 1.295 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/2.12, allocations: 0 / 1.295 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000718/2.121, allocations: 375.1 kB / 1.295 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/2.124, allocations: 0.5451 MB / 1.296 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05098/2.175, allocations: 7.553 MB / 1.303 GB, free: 7.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/2.176, allocations: 1.09 MB / 1.304 GB, free: 6.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001459/2.177, allocations: 228.1 kB / 1.304 GB, free: 6.402 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/2.178, allocations: 360.7 kB / 1.305 GB, free: 6.398 MB / 1.014 GB Notification: Performance of SimCode: time 1.964e-06/2.178, allocations: 0 / 1.305 GB, free: 6.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/2.249, allocations: 24.85 MB / 1.329 GB, free: 1.863 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/2.249, allocations: 215.7 kB / 1.329 GB, free: 1.609 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/5.07, allocations: 0.875 kB / 1.329 GB, free: 1.609 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)