Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001765/0.001765, allocations: 109.6 kB / 16.41 MB, free: 6.051 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.001697/0.001697, allocations: 192.2 kB / 17.34 MB, free: 5.605 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.88 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.113, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2464/1.359, allocations: 166.9 MB / 1.33 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01672/1.376, allocations: 8.498 MB / 1.339 GB, free: 3.754 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/1.378, allocations: 35.81 kB / 1.339 GB, free: 3.719 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/1.381, allocations: 0.5745 MB / 1.339 GB, free: 3.141 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005865/1.387, allocations: 1.568 MB / 1.341 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/1.39, allocations: 1.008 MB / 1.342 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006484/1.397, allocations: 4.102 MB / 1.346 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/1.4, allocations: 1.319 MB / 1.347 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004526/1.404, allocations: 1.523 MB / 1.349 GB, free: 9.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/1.408, allocations: 1.511 MB / 1.35 GB, free: 8.074 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007544/1.408, allocations: 188 kB / 1.35 GB, free: 7.891 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003478/1.412, allocations: 1.104 MB / 1.351 GB, free: 6.785 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.413, allocations: 0.6778 MB / 1.352 GB, free: 6.105 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002501/1.416, allocations: 1.027 MB / 1.353 GB, free: 5.074 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006036/1.422, allocations: 2.765 MB / 1.356 GB, free: 2.305 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.422, allocations: 0 / 1.356 GB, free: 2.305 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.422, allocations: 0 / 1.356 GB, free: 2.305 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001125/1.422, allocations: 0 / 1.356 GB, free: 2.305 MB / 1.076 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.007115/1.429, allocations: 2.318 MB / 1.358 GB, free: 15.92 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.429, allocations: 8.922 kB / 1.358 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/1.43, allocations: 207.7 kB / 1.358 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/1.433, allocations: 1.182 MB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/1.433, allocations: 115 kB / 1.359 GB, free: 14.38 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/1.434, allocations: 148 kB / 1.359 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/1.438, allocations: 1.923 MB / 1.361 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/1.438, allocations: 7.891 kB / 1.361 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/1.439, allocations: 64 kB / 1.361 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.9e-05/1.439, allocations: 36 kB / 1.361 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005032/1.444, allocations: 2.478 MB / 1.364 GB, free: 9.676 MB / 1.092 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.01211/1.456, allocations: 6.125 MB / 1.37 GB, free: 3.176 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/1.461, allocations: 2.814 MB / 1.373 GB, free: 364 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/1.463, allocations: 1.425 MB / 1.374 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/1.465, allocations: 1.727 MB / 1.376 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.356e-05/1.466, allocations: 56.56 kB / 1.376 GB, free: 12.77 MB / 1.107 GB Notification: Performance of pre-optimization done (n=237): time 5.831e-06/1.466, allocations: 0 / 1.376 GB, free: 12.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=237): time 0.007428/1.473, allocations: 3.446 MB / 1.379 GB, free: 9.281 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/1.473, allocations: 85.34 kB / 1.379 GB, free: 9.188 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/1.475, allocations: 0.7744 MB / 1.38 GB, free: 8.402 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.475, allocations: 61.7 kB / 1.38 GB, free: 8.336 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/1.476, allocations: 0.4914 MB / 1.38 GB, free: 7.836 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.477, allocations: 0.8326 MB / 1.381 GB, free: 6.996 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006936/1.477, allocations: 347.7 kB / 1.382 GB, free: 6.648 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.477, allocations: 301.1 kB / 1.382 GB, free: 6.352 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/1.479, allocations: 0.9019 MB / 1.383 GB, free: 5.445 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/1.482, allocations: 1.125 MB / 1.384 GB, free: 4.262 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/1.486, allocations: 2.227 MB / 1.386 GB, free: 1.988 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/1.486, allocations: 0 / 1.386 GB, free: 1.988 MB / 1.107 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005105/1.491, allocations: 2.441 MB / 1.388 GB, free: 15.54 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/1.491, allocations: 14.59 kB / 1.388 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.491, allocations: 4 kB / 1.388 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.27e-05/1.491, allocations: 12 kB / 1.388 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.493, allocations: 435.4 kB / 1.389 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.593e-05/1.493, allocations: 15.94 kB / 1.389 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.495, allocations: 167 kB / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/1.495, allocations: 71.98 kB / 1.389 GB, free: 14.84 MB / 1.123 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.0009917/1.496, allocations: 437.2 kB / 1.39 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.496, allocations: 155 kB / 1.39 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/1.502, allocations: 2.725 MB / 1.392 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/1.502, allocations: 20 kB / 1.392 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/1.502, allocations: 0 / 1.392 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0042/1.507, allocations: 2.385 MB / 1.395 GB, free: 9.039 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00914/1.516, allocations: 4.31 MB / 1.399 GB, free: 4.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.516, allocations: 4 kB / 1.399 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.518, allocations: 407.6 kB / 1.399 GB, free: 4.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000652/1.518, allocations: 97.56 kB / 1.399 GB, free: 4.156 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/1.519, allocations: 51.98 kB / 1.399 GB, free: 4.105 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/1.52, allocations: 1.124 MB / 1.401 GB, free: 2.93 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.52, allocations: 0 / 1.401 GB, free: 2.93 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008059/1.528, allocations: 4.066 MB / 1.405 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.53, allocations: 483.4 kB / 1.405 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/1.53, allocations: 44 kB / 1.405 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.531, allocations: 51.98 kB / 1.405 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.532, allocations: 137.8 kB / 1.405 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.532, allocations: 67.98 kB / 1.405 GB, free: 14.05 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001046/1.533, allocations: 0.5459 MB / 1.406 GB, free: 13.5 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.4e-07/1.533, allocations: 0 / 1.406 GB, free: 13.5 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002444/1.535, allocations: 0.6553 MB / 1.406 GB, free: 12.84 MB / 1.139 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.001263/1.537, allocations: 402.8 kB / 1.407 GB, free: 12.44 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005066/1.542, allocations: 2.321 MB / 1.409 GB, free: 10.13 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.542, allocations: 256 / 1.409 GB, free: 10.13 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.544, allocations: 1.28 MB / 1.41 GB, free: 8.848 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.548, allocations: 0.5838 MB / 1.411 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008069/1.556, allocations: 3.803 MB / 1.415 GB, free: 4.43 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/1.557, allocations: 1.343 MB / 1.416 GB, free: 3.059 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002937/1.56, allocations: 0.7268 MB / 1.417 GB, free: 2.324 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/1.561, allocations: 159.4 kB / 1.417 GB, free: 2.168 MB / 1.139 GB Notification: Performance of SimCode: time 2.465e-06/1.561, allocations: 0 / 1.417 GB, free: 2.168 MB / 1.139 GB Notification: Performance of Templates: time 0.05706/1.618, allocations: 28.62 MB / 1.445 GB, free: 5.863 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)