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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001206, allocations: 188.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.0008941, allocations: 89.7 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.753e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7807, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.381/6.162, allocations: 2.074 GB / 3.048 GB, free: 10.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/6.163, allocations: 86.83 kB / 3.048 GB, free: 10.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.85/9.013, allocations: 0.6475 GB / 3.695 GB, free: 101.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/9.013, allocations: 0 / 3.695 GB, free: 101.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.928e-05/9.013, allocations: 27.94 kB / 3.695 GB, free: 101.9 MB / 0.948 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.003284/9.016, allocations: 1.391 MB / 3.696 GB, free: 100.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/9.016, allocations: 8.031 kB / 3.696 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/9.019, allocations: 366.3 kB / 3.697 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/9.02, allocations: 0.8284 MB / 3.698 GB, free: 99.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/9.02, allocations: 28 kB / 3.698 GB, free: 99.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/9.02, allocations: 52 kB / 3.698 GB, free: 99.13 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001186/9.022, allocations: 0.7419 MB / 3.698 GB, free: 98.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/9.023, allocations: 0.8834 MB / 3.699 GB, free: 97.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/9.023, allocations: 0 / 3.699 GB, free: 97.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/9.023, allocations: 4 kB / 3.699 GB, free: 97.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/9.023, allocations: 34 kB / 3.699 GB, free: 97.43 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004098/9.027, allocations: 4.344 MB / 3.704 GB, free: 92.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/9.028, allocations: 0.6143 MB / 3.704 GB, free: 92.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/9.028, allocations: 430.3 kB / 3.705 GB, free: 91.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/9.029, allocations: 0.6732 MB / 3.705 GB, free: 90.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/9.029, allocations: 39.12 kB / 3.705 GB, free: 90.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.025e-06/9.029, allocations: 4 kB / 3.705 GB, free: 90.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001326/9.03, allocations: 0.7171 MB / 3.706 GB, free: 90.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/9.03, allocations: 55.97 kB / 3.706 GB, free: 90.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/9.031, allocations: 487.7 kB / 3.706 GB, free: 89.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/9.031, allocations: 25.7 kB / 3.707 GB, free: 89.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/9.031, allocations: 424 kB / 3.707 GB, free: 89.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/9.031, allocations: 248.3 kB / 3.707 GB, free: 88.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/9.031, allocations: 0 / 3.707 GB, free: 88.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/9.031, allocations: 378.8 kB / 3.708 GB, free: 88.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/9.032, allocations: 265.5 kB / 3.708 GB, free: 88.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/9.032, allocations: 368.3 kB / 3.708 GB, free: 87.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/9.033, allocations: 336.4 kB / 3.708 GB, free: 87.47 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/9.033, allocations: 4 kB / 3.708 GB, free: 87.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001059/9.034, allocations: 0.7648 MB / 3.709 GB, free: 86.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/9.034, allocations: 11.94 kB / 3.709 GB, free: 86.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/9.034, allocations: 0 / 3.709 GB, free: 86.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/9.034, allocations: 4 kB / 3.709 GB, free: 86.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/9.034, allocations: 163.9 kB / 3.709 GB, free: 86.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/9.034, allocations: 4 kB / 3.709 GB, free: 86.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/9.035, allocations: 83.47 kB / 3.709 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/9.035, allocations: 23.98 kB / 3.709 GB, free: 86.41 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/9.036, allocations: 118.5 kB / 3.71 GB, free: 86.29 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00104/9.037, allocations: 0.6976 MB / 3.71 GB, free: 85.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/9.037, allocations: 79.06 kB / 3.71 GB, free: 85.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/9.038, allocations: 0.7766 MB / 3.711 GB, free: 84.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/9.038, allocations: 8 kB / 3.711 GB, free: 84.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/9.038, allocations: 0 / 3.711 GB, free: 84.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008928/9.039, allocations: 0.8078 MB / 3.712 GB, free: 83.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/9.041, allocations: 1.748 MB / 3.714 GB, free: 82.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/9.041, allocations: 3.953 kB / 3.714 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/9.042, allocations: 179.8 kB / 3.714 GB, free: 81.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/9.042, allocations: 4 kB / 3.714 GB, free: 81.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/9.042, allocations: 7.984 kB / 3.714 GB, free: 81.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/9.042, allocations: 8 kB / 3.714 GB, free: 81.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/9.042, allocations: 3.938 kB / 3.714 GB, free: 81.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/9.044, allocations: 1.257 MB / 3.715 GB, free: 80.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/9.044, allocations: 251.9 kB / 3.715 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/9.044, allocations: 8 kB / 3.715 GB, free: 80.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/9.045, allocations: 63.78 kB / 3.715 GB, free: 80.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/9.045, allocations: 40.5 kB / 3.715 GB, free: 80.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/9.045, allocations: 23.98 kB / 3.715 GB, free: 80.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004256/9.046, allocations: 379.2 kB / 3.716 GB, free: 79.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/9.046, allocations: 0 / 3.716 GB, free: 79.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001158/9.047, allocations: 415.2 kB / 3.716 GB, free: 79.42 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003761/9.05, allocations: 3.499 MB / 3.72 GB, free: 75.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001129/9.052, allocations: 0.6583 MB / 3.72 GB, free: 75.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/9.052, allocations: 0 / 3.72 GB, free: 75.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000569/9.052, allocations: 361.9 kB / 3.721 GB, free: 74.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/9.056, allocations: 468.6 kB / 3.721 GB, free: 74.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/9.06, allocations: 1.958 MB / 3.723 GB, free: 72.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/9.061, allocations: 1.108 MB / 3.724 GB, free: 71.22 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001477/9.062, allocations: 226.8 kB / 3.724 GB, free: 70.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/9.063, allocations: 359.3 kB / 3.725 GB, free: 70.64 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/9.063, allocations: 0 / 3.725 GB, free: 70.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08419/9.147, allocations: 34.94 MB / 3.759 GB, free: 35.84 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/9.148, allocations: 148.3 kB / 3.759 GB, free: 35.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/12.56, allocations: 3.938 kB / 3.759 GB, free: 35.63 MB / 0.948 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)