Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_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.007888/0.007887, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002194/0.002194, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.628/1.628, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.96/2.96, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 68.34 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4654, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.43/1.896, allocations: 202 MB / 1.417 GB, free: 6.75 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01887/1.915, allocations: 7.39 MB / 1.425 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004143/1.919, allocations: 35.22 kB / 1.425 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004072/1.923, allocations: 0.6973 MB / 1.425 GB, free: 152 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/1.935, allocations: 2.405 MB / 1.428 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01892/1.954, allocations: 1.241 MB / 1.429 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006514/1.961, allocations: 2.906 MB / 1.432 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/1.963, allocations: 0.9506 MB / 1.433 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/1.966, allocations: 1.023 MB / 1.434 GB, free: 10.51 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/1.969, allocations: 0.9496 MB / 1.435 GB, free: 9.93 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005389/1.97, allocations: 112 kB / 1.435 GB, free: 9.82 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/1.976, allocations: 2.132 MB / 1.437 GB, free: 7.684 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/1.977, allocations: 454.8 kB / 1.437 GB, free: 7.238 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/1.98, allocations: 0.665 MB / 1.438 GB, free: 6.57 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007432/1.987, allocations: 2.411 MB / 1.44 GB, free: 4.152 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.987, allocations: 0 / 1.44 GB, free: 4.152 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.126e-06/1.987, allocations: 0 / 1.44 GB, free: 4.152 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.982e-05/1.987, allocations: 0 / 1.44 GB, free: 4.152 MB / 1.123 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.005006/1.992, allocations: 1.661 MB / 1.442 GB, free: 2.438 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/1.992, allocations: 12.03 kB / 1.442 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/1.992, allocations: 143.2 kB / 1.442 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/1.995, allocations: 375.4 kB / 1.442 GB, free: 1.91 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/1.997, allocations: 0.8598 MB / 1.443 GB, free: 1.008 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/1.997, allocations: 69.97 kB / 1.443 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/1.997, allocations: 87.94 kB / 1.443 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/1.999, allocations: 1.045 MB / 1.444 GB, free: 15.78 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/1.999, allocations: 7.953 kB / 1.444 GB, free: 15.77 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/1.999, allocations: 32 kB / 1.444 GB, free: 15.74 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/1.999, allocations: 45.98 kB / 1.444 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/2.001, allocations: 0.8792 MB / 1.445 GB, free: 14.81 MB / 1.139 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.007338/2.009, allocations: 4.305 MB / 1.449 GB, free: 10.15 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/2.01, allocations: 0.7019 MB / 1.45 GB, free: 9.441 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/2.011, allocations: 473.3 kB / 1.451 GB, free: 8.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/2.012, allocations: 0.6771 MB / 1.451 GB, free: 8.156 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/2.012, allocations: 39.12 kB / 1.451 GB, free: 8.109 MB / 1.139 GB Notification: Performance of pre-optimization done (n=70): time 3.467e-06/2.012, allocations: 0 / 1.451 GB, free: 8.109 MB / 1.139 GB Notification: Performance of matching and sorting (n=70): time 0.002352/2.015, allocations: 1.006 MB / 1.452 GB, free: 7.102 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/2.015, allocations: 59.97 kB / 1.452 GB, free: 7.027 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/2.016, allocations: 0.6334 MB / 1.453 GB, free: 6.391 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/2.016, allocations: 37.7 kB / 1.453 GB, free: 6.348 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/2.016, allocations: 440.8 kB / 1.453 GB, free: 5.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/2.017, allocations: 253.8 kB / 1.454 GB, free: 5.66 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/2.017, allocations: 118.3 kB / 1.454 GB, free: 5.539 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0003333/2.017, allocations: 398.7 kB / 1.454 GB, free: 5.141 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01181/2.029, allocations: 278.2 kB / 1.454 GB, free: 4.871 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/2.03, allocations: 353.1 kB / 1.455 GB, free: 4.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/2.031, allocations: 0.6665 MB / 1.455 GB, free: 3.816 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/2.031, allocations: 0 / 1.455 GB, free: 3.816 MB / 1.139 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00171/2.033, allocations: 0.7936 MB / 1.456 GB, free: 3.016 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/2.033, allocations: 12.03 kB / 1.456 GB, free: 3.004 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/2.033, allocations: 0 / 1.456 GB, free: 3.004 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/2.033, allocations: 4 kB / 1.456 GB, free: 3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/2.033, allocations: 147.8 kB / 1.456 GB, free: 2.855 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/2.033, allocations: 7.984 kB / 1.456 GB, free: 2.848 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/2.034, allocations: 52.06 kB / 1.456 GB, free: 2.797 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/2.034, allocations: 27.94 kB / 1.456 GB, free: 2.77 MB / 1.139 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.0007118/2.035, allocations: 289.6 kB / 1.457 GB, free: 2.477 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/2.035, allocations: 87.44 kB / 1.457 GB, free: 2.391 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/2.037, allocations: 0.792 MB / 1.458 GB, free: 1.582 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/2.037, allocations: 8 kB / 1.458 GB, free: 1.574 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/2.037, allocations: 6.562 kB / 1.458 GB, free: 1.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/2.038, allocations: 0.827 MB / 1.458 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/2.043, allocations: 1.849 MB / 1.46 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/2.043, allocations: 3.938 kB / 1.46 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/2.044, allocations: 159.8 kB / 1.46 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/2.044, allocations: 7.984 kB / 1.46 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/2.044, allocations: 16 kB / 1.46 GB, free: 14.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/2.044, allocations: 8 kB / 1.46 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.044, allocations: 0 / 1.46 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/2.047, allocations: 1.195 MB / 1.462 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/2.048, allocations: 256.2 kB / 1.462 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/2.048, allocations: 12 kB / 1.462 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/2.049, allocations: 29.11 kB / 1.462 GB, free: 13.08 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/2.049, allocations: 44.5 kB / 1.462 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/2.049, allocations: 19.98 kB / 1.462 GB, free: 13.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007288/2.05, allocations: 459 kB / 1.462 GB, free: 12.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/2.05, allocations: 3.938 kB / 1.462 GB, free: 12.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001091/2.051, allocations: 331.4 kB / 1.463 GB, free: 12.24 MB / 1.154 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.002695/2.054, allocations: 1.852 MB / 1.464 GB, free: 10.37 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001409/2.055, allocations: 0.6757 MB / 1.465 GB, free: 9.691 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.055, allocations: 0 / 1.465 GB, free: 9.691 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006358/2.056, allocations: 371.4 kB / 1.465 GB, free: 9.324 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/2.058, allocations: 0.5457 MB / 1.466 GB, free: 8.801 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/2.069, allocations: 6.976 MB / 1.473 GB, free: 1.664 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/2.07, allocations: 1.089 MB / 1.474 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009302/2.071, allocations: 227.2 kB / 1.474 GB, free: 328 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/2.072, allocations: 359.4 kB / 1.474 GB, free: 15.96 MB / 1.17 GB Notification: Performance of SimCode: time 1.673e-06/2.072, allocations: 0 / 1.474 GB, free: 15.96 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06559/2.137, allocations: 25.29 MB / 1.499 GB, free: 7.043 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/12.46, allocations: 8.016 kB / 1.499 GB, free: 7.035 MB / 1.186 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)