Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 174.2 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 0.5777 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.0009541, allocations: 98.31 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 9.062 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 106.3 MB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7663/1.003, allocations: 184 MB / 1.08 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01287/1.016, allocations: 6.924 MB / 1.087 GB, free: 3.941 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/1.018, allocations: 32.03 kB / 1.087 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/1.02, allocations: 476.1 kB / 1.087 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006817/1.027, allocations: 1.739 MB / 1.089 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/1.031, allocations: 0.9012 MB / 1.09 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005271/1.036, allocations: 3.597 MB / 1.093 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/1.038, allocations: 0.6987 MB / 1.094 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/1.041, allocations: 0.9056 MB / 1.095 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/1.043, allocations: 0.9333 MB / 1.096 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005871/1.044, allocations: 49.38 kB / 1.096 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/1.049, allocations: 1.062 MB / 1.097 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.05, allocations: 391.6 kB / 1.097 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/1.052, allocations: 272.5 kB / 1.098 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004225/1.056, allocations: 1.637 MB / 1.099 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.056, allocations: 5.094 kB / 1.099 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.166e-06/1.056, allocations: 0 / 1.099 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001066/1.056, allocations: 0 / 1.099 GB, free: 19.54 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004874/1.061, allocations: 1.427 MB / 1.101 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/1.061, allocations: 15.56 kB / 1.101 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006719/1.062, allocations: 135.9 kB / 1.101 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/1.065, allocations: 375.6 kB / 1.101 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/1.068, allocations: 0.7917 MB / 1.102 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.068, allocations: 65.16 kB / 1.102 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/1.069, allocations: 87.03 kB / 1.102 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/1.071, allocations: 1.052 MB / 1.103 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/1.071, allocations: 2.906 kB / 1.103 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/1.072, allocations: 36.88 kB / 1.103 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.486e-05/1.072, allocations: 44.33 kB / 1.103 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.074, allocations: 0.8792 MB / 1.104 GB, free: 18.18 MB / 0.7136 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.006232/1.08, allocations: 4.314 MB / 1.108 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.081, allocations: 0.6852 MB / 1.109 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/1.082, allocations: 441.8 kB / 1.109 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/1.083, allocations: 0.6768 MB / 1.11 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/1.083, allocations: 46.41 kB / 1.11 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 4.288e-06/1.083, allocations: 0 / 1.11 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002211/1.085, allocations: 0.9842 MB / 1.111 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.085, allocations: 61.38 kB / 1.111 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.086, allocations: 0.6325 MB / 1.112 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/1.086, allocations: 38.61 kB / 1.112 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/1.087, allocations: 438.4 kB / 1.112 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/1.087, allocations: 253.4 kB / 1.112 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/1.087, allocations: 14.25 kB / 1.112 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002389/1.087, allocations: 387.8 kB / 1.113 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/1.088, allocations: 268.7 kB / 1.113 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/1.088, allocations: 361.7 kB / 1.113 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/1.089, allocations: 322.9 kB / 1.114 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.089, allocations: 0 / 1.114 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001611/1.091, allocations: 0.7828 MB / 1.114 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.091, allocations: 5.125 kB / 1.114 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.091, allocations: 2.844 kB / 1.114 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/1.091, allocations: 3.594 kB / 1.114 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.091, allocations: 146.5 kB / 1.114 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.091, allocations: 6.625 kB / 1.114 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/1.093, allocations: 105.8 kB / 1.115 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/1.093, allocations: 21.25 kB / 1.115 GB, free: 13.62 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006767/1.093, allocations: 291.1 kB / 1.115 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.094, allocations: 90.17 kB / 1.115 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.095, allocations: 0.7881 MB / 1.116 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.095, allocations: 9.344 kB / 1.116 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.095, allocations: 4.578 kB / 1.116 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.096, allocations: 0.8032 MB / 1.117 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/1.1, allocations: 1.847 MB / 1.118 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.1, allocations: 0 / 1.118 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/1.101, allocations: 167.6 kB / 1.118 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/1.101, allocations: 4.875 kB / 1.118 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/1.101, allocations: 26.94 kB / 1.119 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/1.101, allocations: 0 / 1.119 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.101, allocations: 0 / 1.119 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.103, allocations: 1.261 MB / 1.12 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/1.104, allocations: 255.9 kB / 1.12 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.104, allocations: 13.44 kB / 1.12 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/1.105, allocations: 88.36 kB / 1.12 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.105, allocations: 45.06 kB / 1.12 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/1.105, allocations: 20.56 kB / 1.12 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007177/1.106, allocations: 454.5 kB / 1.121 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/1.106, allocations: 1.859 kB / 1.121 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001155/1.107, allocations: 346.7 kB / 1.121 GB, free: 12.3 MB / 0.7136 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 (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.002671/1.11, allocations: 1.908 MB / 1.123 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001391/1.111, allocations: 0.6671 MB / 1.123 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.111, allocations: 1.188 kB / 1.123 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007316/1.112, allocations: 363.5 kB / 1.124 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.115, allocations: 0.531 MB / 1.124 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.126, allocations: 5.776 MB / 1.13 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/1.127, allocations: 1.094 MB / 1.131 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001348/1.128, allocations: 224.9 kB / 1.131 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/1.129, allocations: 357.4 kB / 1.132 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of SimCode: time 1.282e-06/1.129, allocations: 0 / 1.132 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/1.182, allocations: 25.3 MB / 1.156 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.182, allocations: 205.3 kB / 1.156 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/4.063, allocations: 0 / 1.156 GB, free: 9.855 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)