Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_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.001124/0.001124, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 197.2 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 68.98 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2452, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7241/0.9693, allocations: 201.9 MB / 0.9806 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.9803, allocations: 7.328 MB / 0.9878 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.9823, allocations: 35.41 kB / 0.9878 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.9843, allocations: 0.7023 MB / 0.9885 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.9908, allocations: 2.351 MB / 0.9908 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.9943, allocations: 1.26 MB / 0.9921 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.9983, allocations: 2.892 MB / 0.9949 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.9996, allocations: 0.9469 MB / 0.9958 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/1.001, allocations: 1.008 MB / 0.9968 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/1.003, allocations: 0.9589 MB / 0.9977 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/1.003, allocations: 113.1 kB / 0.9978 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/1.008, allocations: 2.135 MB / 0.9999 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/1.009, allocations: 446.7 kB / 1 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008802/1.009, allocations: 0.6649 MB / 1.001 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/1.014, allocations: 2.39 MB / 1.003 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.014, allocations: 0 / 1.003 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.013e-06/1.014, allocations: 0 / 1.003 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.413e-05/1.014, allocations: 0 / 1.003 GB, free: 4.375 MB / 0.7325 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.003177/1.017, allocations: 1.618 MB / 1.005 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.017, allocations: 7.438 kB / 1.005 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/1.017, allocations: 133.7 kB / 1.005 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/1.019, allocations: 372.5 kB / 1.005 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/1.021, allocations: 0.8063 MB / 1.006 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/1.021, allocations: 77.12 kB / 1.006 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.021, allocations: 83.84 kB / 1.006 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/1.022, allocations: 1.042 MB / 1.007 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.022, allocations: 4 kB / 1.007 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/1.023, allocations: 36.86 kB / 1.007 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/1.023, allocations: 45.27 kB / 1.007 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.024, allocations: 0.8736 MB / 1.008 GB, free: 1.105 MB / 0.7325 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.004592/1.029, allocations: 4.311 MB / 1.012 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/1.03, allocations: 0.7056 MB / 1.013 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/1.03, allocations: 450.2 kB / 1.014 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/1.031, allocations: 0.6799 MB / 1.014 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.031, allocations: 43.47 kB / 1.014 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.504e-06/1.031, allocations: 0 / 1.014 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001859/1.033, allocations: 0.9923 MB / 1.015 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.033, allocations: 59.41 kB / 1.015 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/1.034, allocations: 0.6342 MB / 1.016 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/1.034, allocations: 35.8 kB / 1.016 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/1.034, allocations: 429.5 kB / 1.016 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/1.034, allocations: 246.7 kB / 1.017 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/1.035, allocations: 113 kB / 1.017 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.035, allocations: 398.4 kB / 1.017 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/1.035, allocations: 275.4 kB / 1.017 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/1.036, allocations: 362.1 kB / 1.018 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/1.037, allocations: 0.6641 MB / 1.018 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.037, allocations: 0 / 1.018 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001192/1.038, allocations: 0.7891 MB / 1.019 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.038, allocations: 8.031 kB / 1.019 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/1.038, allocations: 4.156 kB / 1.019 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.038, allocations: 4.844 kB / 1.019 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/1.039, allocations: 140.5 kB / 1.019 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.039, allocations: 7.156 kB / 1.019 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/1.039, allocations: 58.39 kB / 1.019 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/1.039, allocations: 25.11 kB / 1.019 GB, free: 8.648 MB / 0.7481 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.0003792/1.04, allocations: 289.6 kB / 1.02 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.04, allocations: 89.75 kB / 1.02 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/1.041, allocations: 0.7837 MB / 1.021 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.041, allocations: 11.8 kB / 1.021 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.041, allocations: 3.938 kB / 1.021 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/1.042, allocations: 0.8091 MB / 1.021 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/1.045, allocations: 1.855 MB / 1.023 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.045, allocations: 0 / 1.023 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/1.046, allocations: 171.1 kB / 1.023 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/1.046, allocations: 2.562 kB / 1.023 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/1.046, allocations: 17.34 kB / 1.023 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.046, allocations: 2.531 kB / 1.023 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.046, allocations: 6.516 kB / 1.023 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/1.047, allocations: 1.27 MB / 1.025 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/1.048, allocations: 240.2 kB / 1.025 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.048, allocations: 21 kB / 1.025 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/1.049, allocations: 22.39 kB / 1.025 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.049, allocations: 44.06 kB / 1.025 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/1.049, allocations: 19.5 kB / 1.025 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005508/1.049, allocations: 450.1 kB / 1.025 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.049, allocations: 0 / 1.025 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009519/1.05, allocations: 339.6 kB / 1.026 GB, free: 4.781 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002257/1.053, allocations: 1.915 MB / 1.028 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.054, allocations: 0.8252 MB / 1.028 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.054, allocations: 0 / 1.028 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/1.055, allocations: 368.5 kB / 1.029 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.057, allocations: 0.551 MB / 1.029 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009594/1.067, allocations: 7.108 MB / 1.036 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/1.067, allocations: 1.085 MB / 1.037 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009743/1.068, allocations: 227.1 kB / 1.037 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.069, allocations: 355.3 kB / 1.038 GB, free: 10 MB / 0.7637 GB Notification: Performance of SimCode: time 6.61e-07/1.069, allocations: 0 / 1.038 GB, free: 10 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/1.121, allocations: 25.06 MB / 1.062 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/9.146, allocations: 4 kB / 1.062 GB, free: 1.27 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)