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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00593/0.00593, allocations: 101.7 kB / 15.73 MB, free: 6.492 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.001063/0.001063, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 58.88 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2582, allocations: 140.4 MB / 1.087 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7923/1.051, allocations: 202 MB / 1.285 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0097/1.06, allocations: 7.398 MB / 1.292 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/1.061, allocations: 38.56 kB / 1.292 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/1.063, allocations: 0.6953 MB / 1.293 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005976/1.069, allocations: 2.404 MB / 1.295 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/1.072, allocations: 1.236 MB / 1.296 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003848/1.076, allocations: 2.911 MB / 1.299 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/1.077, allocations: 0.9562 MB / 1.3 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/1.079, allocations: 1.015 MB / 1.301 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/1.08, allocations: 0.9591 MB / 1.302 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/1.08, allocations: 109.8 kB / 1.302 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/1.085, allocations: 2.129 MB / 1.304 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/1.085, allocations: 450.1 kB / 1.304 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006975/1.086, allocations: 0.6681 MB / 1.305 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003062/1.089, allocations: 2.407 MB / 1.308 GB, free: 2.434 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.089, allocations: 0.875 kB / 1.308 GB, free: 2.434 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/1.089, allocations: 1.125 kB / 1.308 GB, free: 2.434 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.937e-05/1.089, allocations: 0 / 1.308 GB, free: 2.434 MB / 1.014 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.002713/1.092, allocations: 1.622 MB / 1.309 GB, free: 1.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/1.092, allocations: 9.406 kB / 1.309 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/1.092, allocations: 138.1 kB / 1.309 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/1.094, allocations: 372.7 kB / 1.31 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/1.095, allocations: 0.8516 MB / 1.31 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/1.095, allocations: 65.31 kB / 1.31 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.095, allocations: 83.44 kB / 1.311 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.097, allocations: 1.051 MB / 1.312 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.097, allocations: 4.438 kB / 1.312 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/1.097, allocations: 32.94 kB / 1.312 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/1.097, allocations: 48.22 kB / 1.312 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.098, allocations: 0.8781 MB / 1.313 GB, free: 1.023 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.003999/1.102, allocations: 4.298 MB / 1.317 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.103, allocations: 0.6966 MB / 1.317 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/1.104, allocations: 463.6 kB / 1.318 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/1.105, allocations: 0.6771 MB / 1.319 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.105, allocations: 43.44 kB / 1.319 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=70): time 1.864e-06/1.105, allocations: 0.9062 kB / 1.319 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=70): time 0.001675/1.107, allocations: 0.9937 MB / 1.32 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.107, allocations: 58.91 kB / 1.32 GB, free: 13.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/1.107, allocations: 0.6389 MB / 1.32 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/1.107, allocations: 40.08 kB / 1.32 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/1.108, allocations: 431.5 kB / 1.321 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/1.108, allocations: 246.6 kB / 1.321 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.108, allocations: 121.3 kB / 1.321 GB, free: 13.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.108, allocations: 390.2 kB / 1.321 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/1.109, allocations: 276 kB / 1.322 GB, free: 12.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/1.109, allocations: 365.4 kB / 1.322 GB, free: 12.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/1.11, allocations: 0.6625 MB / 1.323 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.11, allocations: 1.219 kB / 1.323 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001137/1.111, allocations: 0.7965 MB / 1.323 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.111, allocations: 8.688 kB / 1.323 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.111, allocations: 1.25 kB / 1.323 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.111, allocations: 5.469 kB / 1.323 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/1.112, allocations: 144.1 kB / 1.324 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.112, allocations: 7.719 kB / 1.324 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/1.113, allocations: 54.69 kB / 1.324 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/1.113, allocations: 19.84 kB / 1.324 GB, free: 12.47 MB / 1.029 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.0003418/1.113, allocations: 292.4 kB / 1.324 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.113, allocations: 83.56 kB / 1.324 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/1.115, allocations: 0.7969 MB / 1.325 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.115, allocations: 7.594 kB / 1.325 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.115, allocations: 3.75 kB / 1.325 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/1.116, allocations: 0.8183 MB / 1.326 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/1.118, allocations: 1.842 MB / 1.327 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.118, allocations: 2.375 kB / 1.327 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/1.119, allocations: 175.5 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.119, allocations: 3.594 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/1.119, allocations: 12.47 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.119, allocations: 15.41 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.119, allocations: 0 / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/1.12, allocations: 1.19 MB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/1.121, allocations: 245.9 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.121, allocations: 16.59 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/1.121, allocations: 22.33 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/1.122, allocations: 48.97 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/1.122, allocations: 28.2 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004229/1.122, allocations: 452.3 kB / 1.33 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.122, allocations: 0.875 kB / 1.33 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007663/1.123, allocations: 342.7 kB / 1.33 GB, free: 11.16 MB / 1.029 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.001847/1.125, allocations: 1.838 MB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008905/1.126, allocations: 0.6766 MB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.126, allocations: 1.562 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/1.126, allocations: 377.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.128, allocations: 0.5418 MB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/1.136, allocations: 6.931 MB / 1.34 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/1.137, allocations: 1.094 MB / 1.341 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007512/1.138, allocations: 229.2 kB / 1.341 GB, free: 5.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.138, allocations: 359.7 kB / 1.342 GB, free: 5.617 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/1.138, allocations: 0 / 1.342 GB, free: 5.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/1.186, allocations: 25.28 MB / 1.366 GB, free: 13.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/9.665, allocations: 9.719 kB / 1.366 GB, free: 13.78 MB / 1.045 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)