Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",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.0008097/0.0008096, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009722/0.0009723, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7763, allocations: 142.3 MB / 0.9538 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.184/0.9604, allocations: 170.3 MB / 1.12 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0224/0.9828, allocations: 15.25 MB / 1.135 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.9865, allocations: 43.75 kB / 1.135 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.9888, allocations: 0.5083 MB / 1.136 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.9948, allocations: 1.832 MB / 1.137 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.9999, allocations: 1.467 MB / 1.139 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006699/1.007, allocations: 3.872 MB / 1.143 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/1.01, allocations: 1.561 MB / 1.144 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/1.013, allocations: 1.19 MB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/1.015, allocations: 1.097 MB / 1.146 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/1.015, allocations: 64 kB / 1.146 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/1.019, allocations: 1.384 MB / 1.148 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006415/1.02, allocations: 0.5721 MB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007355/1.02, allocations: 448.5 kB / 1.149 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004044/1.024, allocations: 2.852 MB / 1.152 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.024, allocations: 3.938 kB / 1.152 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.525e-06/1.024, allocations: 0 / 1.152 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.622e-05/1.025, allocations: 0 / 1.152 GB, free: 5.172 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.005698/1.03, allocations: 2.491 MB / 1.154 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.03, allocations: 12.03 kB / 1.154 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004013/1.031, allocations: 257.5 kB / 1.154 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003436/1.034, allocations: 0.5706 MB / 1.155 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/1.038, allocations: 2.703 MB / 1.157 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.038, allocations: 135.5 kB / 1.158 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/1.038, allocations: 175.9 kB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/1.042, allocations: 2.041 MB / 1.16 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/1.042, allocations: 0 / 1.16 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/1.042, allocations: 83.95 kB / 1.16 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/1.042, allocations: 75.39 kB / 1.16 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/1.046, allocations: 2.094 MB / 1.162 GB, free: 10.33 MB / 0.92 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.01112/1.057, allocations: 7.794 MB / 1.17 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/1.06, allocations: 1.679 MB / 1.171 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.061, allocations: 0.757 MB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007694/1.062, allocations: 0.6532 MB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/1.063, allocations: 0.9778 MB / 1.173 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=151): time 3.447e-06/1.063, allocations: 4 kB / 1.173 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=151): time 0.006235/1.07, allocations: 2.676 MB / 1.176 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.07, allocations: 226.9 kB / 1.176 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/1.073, allocations: 3.095 MB / 1.179 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/1.073, allocations: 57.7 kB / 1.179 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/1.074, allocations: 0.8862 MB / 1.18 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/1.075, allocations: 0.4928 MB / 1.181 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/1.075, allocations: 32 kB / 1.181 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.075, allocations: 357.9 kB / 1.181 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/1.076, allocations: 0.5661 MB / 1.182 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/1.077, allocations: 0.7682 MB / 1.182 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.078, allocations: 0.6584 MB / 1.183 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.078, allocations: 0 / 1.183 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003464/1.082, allocations: 1.751 MB / 1.185 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.082, allocations: 147.8 kB / 1.185 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.082, allocations: 7.984 kB / 1.185 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/1.083, allocations: 138.5 kB / 1.185 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.084, allocations: 315.6 kB / 1.185 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/1.088, allocations: 4.218 MB / 1.189 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.09, allocations: 215.7 kB / 1.19 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.09, allocations: 51.91 kB / 1.19 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/1.09, allocations: 4 kB / 1.19 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002983/1.093, allocations: 1.544 MB / 1.191 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.093, allocations: 3.938 kB / 1.191 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/1.093, allocations: 146.5 kB / 1.191 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.095, allocations: 307.6 kB / 1.192 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/1.098, allocations: 4.221 MB / 1.196 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.1, allocations: 190.7 kB / 1.196 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.1, allocations: 55.97 kB / 1.196 GB, free: 5.715 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001107/1.101, allocations: 0.5436 MB / 1.197 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/1.102, allocations: 185.8 kB / 1.197 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/1.106, allocations: 2.058 MB / 1.199 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/1.106, allocations: 16 kB / 1.199 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.106, allocations: 0 / 1.199 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00298/1.109, allocations: 1.677 MB / 1.2 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006333/1.115, allocations: 3.946 MB / 1.204 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.115, allocations: 8 kB / 1.204 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/1.116, allocations: 311.5 kB / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006117/1.117, allocations: 142.5 kB / 1.205 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/1.117, allocations: 47.97 kB / 1.205 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/1.121, allocations: 4.23 MB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.121, allocations: 8.016 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/1.126, allocations: 2.827 MB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.127, allocations: 0.4981 MB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.127, allocations: 32 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.128, allocations: 154.8 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/1.129, allocations: 113.1 kB / 1.212 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.129, allocations: 71.95 kB / 1.212 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002475/1.131, allocations: 2.335 MB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.131, allocations: 4 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002723/1.134, allocations: 1.11 MB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006898/1.141, allocations: 4.074 MB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004934/1.146, allocations: 2.967 MB / 1.223 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.146, allocations: 448 / 1.223 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.148, allocations: 1.179 MB / 1.224 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.151, allocations: 0.6896 MB / 1.225 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/1.179, allocations: 16.63 MB / 1.241 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.18, allocations: 1.552 MB / 1.242 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002972/1.183, allocations: 0.6226 MB / 1.243 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.185, allocations: 0.8819 MB / 1.244 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.185, allocations: 3.938 kB / 1.244 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6383/1.823, allocations: 51.98 MB / 1.295 GB, free: 250.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.823, allocations: 255.3 kB / 1.295 GB, free: 250.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/5.464, allocations: 0 / 1.295 GB, free: 250.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)