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.0009498/0.0009499, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001082/0.001082, allocations: 177.3 kB / 15.95 MB, free: 216 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.463/2.463, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.831, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.2013/1.032, allocations: 156.1 MB / 1.106 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02064/1.053, allocations: 14.24 MB / 1.12 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/1.055, allocations: 47.69 kB / 1.12 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/1.057, allocations: 0.5361 MB / 1.12 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007467/1.065, allocations: 2.24 MB / 1.123 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/1.069, allocations: 1.416 MB / 1.124 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004881/1.074, allocations: 2.208 MB / 1.126 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/1.077, allocations: 1.565 MB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/1.08, allocations: 1.144 MB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/1.081, allocations: 0.8566 MB / 1.13 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.081, allocations: 60 kB / 1.13 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/1.085, allocations: 1.314 MB / 1.131 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/1.086, allocations: 0.5372 MB / 1.132 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007199/1.087, allocations: 452.4 kB / 1.132 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005019/1.092, allocations: 2.81 MB / 1.135 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.092, allocations: 0 / 1.135 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/1.092, allocations: 0 / 1.135 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.76e-05/1.092, allocations: 0 / 1.135 GB, free: 6.195 MB / 0.8887 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.006242/1.098, allocations: 2.479 MB / 1.137 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/1.098, allocations: 16.02 kB / 1.137 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004959/1.099, allocations: 257.5 kB / 1.137 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/1.102, allocations: 0.5667 MB / 1.138 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/1.107, allocations: 2.711 MB / 1.141 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.107, allocations: 131.6 kB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/1.107, allocations: 179.9 kB / 1.141 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/1.111, allocations: 2.029 MB / 1.143 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/1.111, allocations: 7.938 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.111, allocations: 75.95 kB / 1.143 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/1.111, allocations: 75.39 kB / 1.143 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/1.114, allocations: 2.094 MB / 1.145 GB, free: 11.37 MB / 0.9044 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.01226/1.127, allocations: 7.76 MB / 1.153 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/1.129, allocations: 1.54 MB / 1.154 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/1.13, allocations: 486.8 kB / 1.155 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/1.132, allocations: 0.9791 MB / 1.156 GB, free: 124 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=151): time 2.835e-06/1.132, allocations: 0 / 1.156 GB, free: 124 kB / 0.9044 GB Notification: Performance of matching and sorting (n=151): time 0.005738/1.137, allocations: 2.665 MB / 1.158 GB, free: 13.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.137, allocations: 222.9 kB / 1.158 GB, free: 13.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/1.141, allocations: 3.103 MB / 1.161 GB, free: 10.01 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/1.141, allocations: 57.7 kB / 1.161 GB, free: 9.949 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/1.142, allocations: 0.8862 MB / 1.162 GB, free: 9.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/1.142, allocations: 0.5005 MB / 1.163 GB, free: 8.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/1.143, allocations: 24 kB / 1.163 GB, free: 8.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.143, allocations: 357.9 kB / 1.163 GB, free: 8.164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.144, allocations: 0.57 MB / 1.164 GB, free: 7.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/1.145, allocations: 0.7603 MB / 1.165 GB, free: 6.781 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.146, allocations: 0.6584 MB / 1.165 GB, free: 6.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.146, allocations: 0 / 1.165 GB, free: 6.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003605/1.15, allocations: 1.735 MB / 1.167 GB, free: 4.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002775/1.15, allocations: 0.7309 MB / 1.168 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.15, allocations: 7.938 kB / 1.168 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007799/1.151, allocations: 146.4 kB / 1.168 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.152, allocations: 319.6 kB / 1.168 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/1.156, allocations: 4.241 MB / 1.172 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.158, allocations: 207.4 kB / 1.172 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/1.158, allocations: 47.98 kB / 1.172 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.158, allocations: 3.984 kB / 1.172 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003248/1.161, allocations: 1.532 MB / 1.174 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.161, allocations: 4 kB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006878/1.162, allocations: 150.9 kB / 1.174 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.163, allocations: 307.6 kB / 1.174 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/1.167, allocations: 4.257 MB / 1.178 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.169, allocations: 207.7 kB / 1.179 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.169, allocations: 51.97 kB / 1.179 GB, free: 7.293 MB / 0.9356 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.001212/1.17, allocations: 0.544 MB / 1.179 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/1.171, allocations: 185.8 kB / 1.179 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/1.176, allocations: 2.038 MB / 1.181 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.176, allocations: 16 kB / 1.181 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.176, allocations: 4 kB / 1.181 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003173/1.179, allocations: 1.681 MB / 1.183 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007271/1.186, allocations: 3.793 MB / 1.187 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.186, allocations: 8 kB / 1.187 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/1.188, allocations: 307.8 kB / 1.187 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.188, allocations: 150.4 kB / 1.187 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.189, allocations: 43.97 kB / 1.187 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/1.192, allocations: 4.261 MB / 1.191 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.192, allocations: 8.094 kB / 1.191 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/1.198, allocations: 2.917 MB / 1.194 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.199, allocations: 0.4981 MB / 1.195 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/1.2, allocations: 28 kB / 1.195 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.201, allocations: 166.8 kB / 1.195 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.201, allocations: 117.1 kB / 1.195 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.202, allocations: 71.95 kB / 1.195 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002937/1.205, allocations: 2.342 MB / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.31e-07/1.205, allocations: 0 / 1.197 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003507/1.208, allocations: 1.106 MB / 1.199 GB, free: 2.379 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.008105/1.216, allocations: 4.408 MB / 1.203 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005517/1.222, allocations: 2.964 MB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.222, allocations: 4.438 kB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.224, allocations: 1.187 MB / 1.207 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.228, allocations: 0.6657 MB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/1.257, allocations: 17.59 MB / 1.225 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.259, allocations: 1.588 MB / 1.226 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002968/1.262, allocations: 0.6226 MB / 1.227 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.263, allocations: 0.878 MB / 1.228 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/1.263, allocations: 0 / 1.228 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6618/1.925, allocations: 51.91 MB / 1.278 GB, free: 262 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.925, allocations: 261 kB / 1.279 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/5.196, allocations: 0 / 1.279 GB, free: 261.7 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)