Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 104 kB / 16.35 MB, free: 5.824 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.001619/0.001619, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.36 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3843, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.922/1.306, allocations: 166.9 MB / 1.19 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01611/1.323, allocations: 8.493 MB / 1.198 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/1.326, allocations: 37.94 kB / 1.198 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/1.328, allocations: 0.5603 MB / 1.199 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006196/1.334, allocations: 1.543 MB / 1.2 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/1.338, allocations: 0.9986 MB / 1.201 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00669/1.345, allocations: 4.098 MB / 1.205 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/1.347, allocations: 1.332 MB / 1.206 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/1.351, allocations: 1.492 MB / 1.208 GB, free: 428 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/1.355, allocations: 1.504 MB / 1.209 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004156/1.355, allocations: 188.5 kB / 1.209 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/1.358, allocations: 1.105 MB / 1.211 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007559/1.359, allocations: 0.6728 MB / 1.211 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/1.361, allocations: 1.037 MB / 1.212 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004512/1.365, allocations: 2.753 MB / 1.215 GB, free: 12.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.365, allocations: 0 / 1.215 GB, free: 12.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.465e-06/1.365, allocations: 0 / 1.215 GB, free: 12.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.08e-05/1.365, allocations: 0 / 1.215 GB, free: 12.1 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005143/1.371, allocations: 2.265 MB / 1.217 GB, free: 10.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.371, allocations: 16.02 kB / 1.217 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/1.371, allocations: 195.4 kB / 1.217 GB, free: 10 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.374, allocations: 1.174 MB / 1.218 GB, free: 8.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/1.374, allocations: 115 kB / 1.219 GB, free: 8.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.374, allocations: 148 kB / 1.219 GB, free: 8.531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/1.377, allocations: 1.927 MB / 1.221 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/1.377, allocations: 0 / 1.221 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.377, allocations: 60 kB / 1.221 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/1.377, allocations: 36 kB / 1.221 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/1.382, allocations: 2.478 MB / 1.223 GB, free: 3.984 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.009494/1.391, allocations: 6.113 MB / 1.229 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/1.395, allocations: 2.803 MB / 1.232 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/1.397, allocations: 1.417 MB / 1.233 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/1.399, allocations: 1.734 MB / 1.235 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.399, allocations: 60.56 kB / 1.235 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=237): time 5.951e-06/1.399, allocations: 0 / 1.235 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=237): time 0.005768/1.405, allocations: 3.438 MB / 1.238 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.405, allocations: 73.41 kB / 1.238 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.406, allocations: 0.7821 MB / 1.239 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/1.406, allocations: 61.7 kB / 1.239 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/1.406, allocations: 498.1 kB / 1.24 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007106/1.407, allocations: 0.7853 MB / 1.24 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005069/1.408, allocations: 351.6 kB / 1.241 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.408, allocations: 305.1 kB / 1.241 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/1.409, allocations: 0.8981 MB / 1.242 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.411, allocations: 1.129 MB / 1.243 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.414, allocations: 2.227 MB / 1.245 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.414, allocations: 0 / 1.245 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004058/1.418, allocations: 2.432 MB / 1.248 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/1.418, allocations: 8 kB / 1.248 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.418, allocations: 0 / 1.248 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.698e-05/1.418, allocations: 21.06 kB / 1.248 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.42, allocations: 439.8 kB / 1.248 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/1.42, allocations: 13.56 kB / 1.248 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.421, allocations: 154.3 kB / 1.248 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.421, allocations: 75.98 kB / 1.248 GB, free: 9.223 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0007915/1.422, allocations: 445.2 kB / 1.249 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.422, allocations: 138.3 kB / 1.249 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/1.427, allocations: 2.733 MB / 1.252 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.427, allocations: 24 kB / 1.252 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.427, allocations: 0 / 1.252 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003394/1.43, allocations: 2.381 MB / 1.254 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/1.437, allocations: 4.295 MB / 1.258 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.437, allocations: 3.938 kB / 1.258 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.439, allocations: 407.4 kB / 1.258 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/1.439, allocations: 101.7 kB / 1.259 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.439, allocations: 51.98 kB / 1.259 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007512/1.44, allocations: 1.124 MB / 1.26 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.44, allocations: 4.125 kB / 1.26 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/1.446, allocations: 4.061 MB / 1.264 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.447, allocations: 478.6 kB / 1.264 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.448, allocations: 40 kB / 1.264 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/1.448, allocations: 51.97 kB / 1.264 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/1.449, allocations: 137.8 kB / 1.264 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.449, allocations: 75.97 kB / 1.264 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007476/1.45, allocations: 0.5459 MB / 1.265 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.45, allocations: 0 / 1.265 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001677/1.451, allocations: 0.6475 MB / 1.266 GB, free: 7.254 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008344/1.452, allocations: 393.7 kB / 1.266 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003627/1.456, allocations: 2.325 MB / 1.268 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.456, allocations: 0 / 1.268 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.458, allocations: 1.284 MB / 1.269 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.46, allocations: 0.5782 MB / 1.27 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/1.466, allocations: 3.764 MB / 1.274 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009731/1.467, allocations: 1.339 MB / 1.275 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002049/1.469, allocations: 0.7228 MB / 1.276 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/1.47, allocations: 151.4 kB / 1.276 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of SimCode: time 1.523e-06/1.47, allocations: 0 / 1.276 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.05004/1.52, allocations: 28.02 MB / 1.303 GB, free: 0.9297 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)