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.001446/0.001446, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001554/0.001554, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 442.5 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.28 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2909, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.7486/1.04, allocations: 166.9 MB / 1.19 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01371/1.053, allocations: 8.485 MB / 1.198 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/1.056, allocations: 36.94 kB / 1.198 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/1.058, allocations: 0.5692 MB / 1.199 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004528/1.062, allocations: 1.54 MB / 1.2 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/1.065, allocations: 1.002 MB / 1.201 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004868/1.07, allocations: 4.095 MB / 1.205 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.071, allocations: 1.324 MB / 1.206 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/1.075, allocations: 1.493 MB / 1.208 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/1.077, allocations: 1.508 MB / 1.209 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002768/1.078, allocations: 186.3 kB / 1.21 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/1.08, allocations: 1.094 MB / 1.211 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006216/1.081, allocations: 0.6805 MB / 1.211 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/1.082, allocations: 1.025 MB / 1.212 GB, free: 14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003561/1.085, allocations: 2.765 MB / 1.215 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.085, allocations: 4 kB / 1.215 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.794e-06/1.086, allocations: 4 kB / 1.215 GB, free: 12.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.837e-05/1.086, allocations: 0 / 1.215 GB, free: 12.17 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.004431/1.09, allocations: 2.258 MB / 1.217 GB, free: 10.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.09, allocations: 16.03 kB / 1.217 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/1.091, allocations: 198.7 kB / 1.217 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/1.093, allocations: 1.17 MB / 1.218 GB, free: 8.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/1.093, allocations: 115 kB / 1.219 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/1.093, allocations: 156 kB / 1.219 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/1.096, allocations: 1.915 MB / 1.221 GB, free: 6.656 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/1.096, allocations: 7.984 kB / 1.221 GB, free: 6.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/1.096, allocations: 64 kB / 1.221 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/1.096, allocations: 36 kB / 1.221 GB, free: 6.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/1.1, allocations: 2.475 MB / 1.223 GB, free: 4.07 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.008819/1.109, allocations: 6.112 MB / 1.229 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/1.112, allocations: 2.803 MB / 1.232 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/1.114, allocations: 1.417 MB / 1.233 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/1.116, allocations: 1.73 MB / 1.235 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/1.116, allocations: 60.55 kB / 1.235 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=237): time 7.654e-06/1.116, allocations: 0 / 1.235 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=237): time 0.005604/1.122, allocations: 3.438 MB / 1.238 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.122, allocations: 73.41 kB / 1.238 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.123, allocations: 0.7782 MB / 1.239 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/1.123, allocations: 65.7 kB / 1.239 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.124, allocations: 498.1 kB / 1.24 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/1.124, allocations: 0.7853 MB / 1.24 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/1.125, allocations: 347.6 kB / 1.241 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.125, allocations: 301.1 kB / 1.241 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.127, allocations: 0.902 MB / 1.242 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.128, allocations: 1.132 MB / 1.243 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.131, allocations: 2.227 MB / 1.245 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/1.131, allocations: 4.75 kB / 1.245 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004152/1.136, allocations: 2.429 MB / 1.248 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.136, allocations: 8.031 kB / 1.248 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.136, allocations: 4 kB / 1.248 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/1.136, allocations: 19.94 kB / 1.248 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.137, allocations: 435.4 kB / 1.248 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.137, allocations: 15.94 kB / 1.248 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.139, allocations: 155.4 kB / 1.248 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.139, allocations: 75.98 kB / 1.248 GB, free: 9.309 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.0007508/1.139, allocations: 445.2 kB / 1.249 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/1.14, allocations: 138.3 kB / 1.249 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/1.144, allocations: 2.729 MB / 1.252 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.144, allocations: 24 kB / 1.252 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.144, allocations: 0 / 1.252 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003354/1.148, allocations: 2.381 MB / 1.254 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/1.154, allocations: 4.298 MB / 1.258 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.154, allocations: 3.938 kB / 1.258 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.156, allocations: 408.4 kB / 1.258 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/1.156, allocations: 101.6 kB / 1.259 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.157, allocations: 51.98 kB / 1.259 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007061/1.157, allocations: 1.128 MB / 1.26 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.157, allocations: 0 / 1.26 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/1.163, allocations: 4.057 MB / 1.264 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.164, allocations: 478.6 kB / 1.264 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/1.164, allocations: 40 kB / 1.264 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.165, allocations: 55.98 kB / 1.264 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.166, allocations: 137.8 kB / 1.264 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.166, allocations: 75.97 kB / 1.264 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007266/1.166, allocations: 0.542 MB / 1.265 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.166, allocations: 0 / 1.265 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001426/1.168, allocations: 0.6514 MB / 1.266 GB, free: 7.344 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.0007039/1.169, allocations: 393.4 kB / 1.266 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003522/1.172, allocations: 2.328 MB / 1.268 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.172, allocations: 0 / 1.268 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/1.174, allocations: 1.285 MB / 1.27 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.176, allocations: 0.5772 MB / 1.27 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/1.182, allocations: 3.76 MB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/1.183, allocations: 1.335 MB / 1.275 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001915/1.185, allocations: 0.7189 MB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/1.185, allocations: 155.4 kB / 1.276 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of SimCode: time 8.52e-07/1.185, allocations: 4 kB / 1.276 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.04636/1.232, allocations: 28.01 MB / 1.303 GB, free: 1.012 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 gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)