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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001626/0.001626, allocations: 119.2 kB / 16.37 MB, free: 6.016 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.002215/0.002215, allocations: 193 kB / 17.31 MB, free: 5.613 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.31/1.31, 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 10.1.0-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.23 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3274, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.7653/1.093, allocations: 166.9 MB / 1.182 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01412/1.107, allocations: 8.499 MB / 1.19 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/1.109, allocations: 37.44 kB / 1.19 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/1.112, allocations: 0.5616 MB / 1.191 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/1.117, allocations: 1.545 MB / 1.192 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/1.121, allocations: 1.001 MB / 1.193 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005715/1.127, allocations: 4.098 MB / 1.197 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/1.129, allocations: 1.326 MB / 1.198 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/1.133, allocations: 1.489 MB / 1.2 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/1.136, allocations: 1.502 MB / 1.201 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005868/1.136, allocations: 188.5 kB / 1.202 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/1.139, allocations: 1.104 MB / 1.203 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/1.14, allocations: 0.6727 MB / 1.203 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002304/1.143, allocations: 1.031 MB / 1.204 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004801/1.148, allocations: 2.757 MB / 1.207 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.148, allocations: 0 / 1.207 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/1.148, allocations: 6.688 kB / 1.207 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001017/1.148, allocations: 0 / 1.207 GB, free: 6.141 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005818/1.153, allocations: 2.257 MB / 1.209 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.154, allocations: 15.08 kB / 1.209 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/1.154, allocations: 197.5 kB / 1.209 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/1.156, allocations: 1.174 MB / 1.211 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/1.157, allocations: 115.7 kB / 1.211 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/1.157, allocations: 153.8 kB / 1.211 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/1.16, allocations: 1.922 MB / 1.213 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/1.16, allocations: 4 kB / 1.213 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/1.16, allocations: 64 kB / 1.213 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/1.16, allocations: 36 kB / 1.213 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/1.164, allocations: 2.478 MB / 1.215 GB, free: 15.53 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.008805/1.173, allocations: 6.116 MB / 1.221 GB, free: 9.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/1.176, allocations: 2.806 MB / 1.224 GB, free: 6.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.179, allocations: 1.413 MB / 1.225 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/1.18, allocations: 1.738 MB / 1.227 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.18, allocations: 56.56 kB / 1.227 GB, free: 2.641 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 3.988e-06/1.18, allocations: 0 / 1.227 GB, free: 2.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.00565/1.186, allocations: 3.434 MB / 1.23 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/1.186, allocations: 77.41 kB / 1.23 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.187, allocations: 0.7743 MB / 1.231 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.187, allocations: 69.64 kB / 1.231 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/1.188, allocations: 494.1 kB / 1.232 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006248/1.188, allocations: 0.7892 MB / 1.233 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/1.189, allocations: 343.6 kB / 1.233 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.189, allocations: 305.1 kB / 1.233 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.19, allocations: 0.898 MB / 1.234 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.192, allocations: 1.132 MB / 1.235 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/1.195, allocations: 2.219 MB / 1.237 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.195, allocations: 4 kB / 1.237 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004048/1.199, allocations: 2.433 MB / 1.24 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.199, allocations: 8 kB / 1.24 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.199, allocations: 8 kB / 1.24 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.199, allocations: 15.94 kB / 1.24 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.201, allocations: 435.4 kB / 1.24 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/1.201, allocations: 16.61 kB / 1.24 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.202, allocations: 150.4 kB / 1.24 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.202, allocations: 79.92 kB / 1.24 GB, free: 4.77 MB / 0.9356 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.0007335/1.203, allocations: 441.2 kB / 1.241 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/1.203, allocations: 146.2 kB / 1.241 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/1.208, allocations: 2.731 MB / 1.244 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.208, allocations: 24 kB / 1.244 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.208, allocations: 0.875 kB / 1.244 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003318/1.211, allocations: 2.373 MB / 1.246 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006242/1.217, allocations: 4.298 MB / 1.25 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.217, allocations: 3.938 kB / 1.25 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.219, allocations: 415.5 kB / 1.251 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/1.22, allocations: 93.64 kB / 1.251 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/1.22, allocations: 57.09 kB / 1.251 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007387/1.22, allocations: 1.113 MB / 1.252 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.22, allocations: 3.938 kB / 1.252 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005953/1.226, allocations: 4.065 MB / 1.256 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.228, allocations: 482.6 kB / 1.256 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.228, allocations: 40 kB / 1.256 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/1.229, allocations: 55.98 kB / 1.256 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.229, allocations: 137.8 kB / 1.256 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.229, allocations: 71.98 kB / 1.256 GB, free: 4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007122/1.23, allocations: 0.5497 MB / 1.257 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.23, allocations: 4 kB / 1.257 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0014/1.231, allocations: 0.6475 MB / 1.258 GB, free: 2.797 MB / 0.9512 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.0006637/1.232, allocations: 388.8 kB / 1.258 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003511/1.235, allocations: 2.332 MB / 1.26 GB, free: 84 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.235, allocations: 0 / 1.26 GB, free: 84 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/1.237, allocations: 1.281 MB / 1.262 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.239, allocations: 0.5739 MB / 1.262 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/1.245, allocations: 3.768 MB / 1.266 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008728/1.246, allocations: 1.335 MB / 1.267 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001744/1.247, allocations: 0.7228 MB / 1.268 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/1.248, allocations: 155.4 kB / 1.268 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/1.248, allocations: 4 kB / 1.268 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.04334/1.291, allocations: 28.01 MB / 1.295 GB, free: 12.48 MB / 0.9981 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 gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)