Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 107.2 kB / 16.37 MB, free: 6.012 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.001317/0.001317, allocations: 188.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2306, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5809/0.8115, allocations: 218.5 MB / 0.9982 GB, free: 15.4 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02819/0.8397, allocations: 21.58 MB / 1.019 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.8425, allocations: 51.75 kB / 1.019 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.8461, allocations: 1.235 MB / 1.02 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.8567, allocations: 4.074 MB / 1.024 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.8609, allocations: 1.523 MB / 1.026 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008693/0.8696, allocations: 6.933 MB / 1.033 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/0.8732, allocations: 2.349 MB / 1.035 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.8779, allocations: 2.364 MB / 1.037 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.8827, allocations: 2.455 MB / 1.04 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000818/0.8835, allocations: 344 kB / 1.04 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007714/0.8912, allocations: 3.461 MB / 1.043 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.8932, allocations: 1.446 MB / 1.045 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.8963, allocations: 1.871 MB / 1.047 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009123/0.9054, allocations: 5.761 MB / 1.052 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9054, allocations: 0 / 1.052 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9054, allocations: 4 kB / 1.052 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.843e-05/0.9055, allocations: 0 / 1.052 GB, free: 7.809 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.009967/0.9155, allocations: 3.928 MB / 1.056 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9156, allocations: 8.031 kB / 1.056 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.9204, allocations: 0.8198 MB / 1.057 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.9245, allocations: 1.917 MB / 1.059 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.9246, allocations: 205.4 kB / 1.059 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/0.9251, allocations: 271.9 kB / 1.059 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005563/0.9307, allocations: 3.271 MB / 1.062 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.9308, allocations: 4 kB / 1.062 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.931, allocations: 108 kB / 1.063 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.9312, allocations: 121.4 kB / 1.063 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007471/0.9386, allocations: 4.612 MB / 1.067 GB, free: 8.375 MB / 0.8575 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.01753/0.9562, allocations: 10.9 MB / 1.078 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/0.9624, allocations: 4.872 MB / 1.083 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.966, allocations: 2.516 MB / 1.085 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.967, allocations: 0.8603 MB / 1.086 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.9671, allocations: 81.58 kB / 1.086 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=399): time 4.939e-06/0.9671, allocations: 0 / 1.086 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=399): time 0.009791/0.9769, allocations: 6.026 MB / 1.092 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.977, allocations: 94.55 kB / 1.092 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.9788, allocations: 1.219 MB / 1.093 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003228/0.9791, allocations: 89.7 kB / 1.093 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000554/0.9797, allocations: 0.8055 MB / 1.094 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.9809, allocations: 1.324 MB / 1.095 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008491/0.9818, allocations: 0.5546 MB / 1.096 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.9819, allocations: 305.1 kB / 1.096 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.9844, allocations: 1.599 MB / 1.098 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.9871, allocations: 1.923 MB / 1.1 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005644/0.9927, allocations: 3.834 MB / 1.103 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.9928, allocations: 3.938 kB / 1.103 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006734/0.9995, allocations: 4.183 MB / 1.107 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.9996, allocations: 7.984 kB / 1.107 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.9996, allocations: 4 kB / 1.107 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.9996, allocations: 19.94 kB / 1.107 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/1.002, allocations: 0.6847 MB / 1.108 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.221e-05/1.003, allocations: 19.94 kB / 1.108 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.005, allocations: 248.1 kB / 1.108 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/1.005, allocations: 116 kB / 1.108 GB, free: 12.93 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001324/1.007, allocations: 0.7274 MB / 1.109 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/1.007, allocations: 233.2 kB / 1.109 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007378/1.015, allocations: 4.628 MB / 1.114 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/1.015, allocations: 36 kB / 1.114 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.015, allocations: 7.938 kB / 1.114 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005818/1.021, allocations: 3.95 MB / 1.118 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.034, allocations: 8.25 MB / 1.126 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.034, allocations: 4 kB / 1.126 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/1.037, allocations: 0.6593 MB / 1.127 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/1.037, allocations: 146.4 kB / 1.127 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/1.037, allocations: 85.22 kB / 1.127 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/1.041, allocations: 5.086 MB / 1.132 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.041, allocations: 0 / 1.132 GB, free: 4.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3944/1.436, allocations: 7.016 MB / 1.139 GB, free: 303.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.438, allocations: 0.7654 MB / 1.139 GB, free: 303.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/1.438, allocations: 66.47 kB / 1.139 GB, free: 303.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.44, allocations: 82.28 kB / 1.139 GB, free: 303.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/1.441, allocations: 222.4 kB / 1.14 GB, free: 303.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.441, allocations: 112.2 kB / 1.14 GB, free: 303.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001048/1.442, allocations: 0.8519 MB / 1.141 GB, free: 303 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.442, allocations: 3.531 kB / 1.141 GB, free: 303 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002416/1.444, allocations: 1.069 MB / 1.142 GB, free: 303 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006634/1.445, allocations: 330.4 kB / 1.142 GB, free: 303 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005898/1.451, allocations: 4.068 MB / 1.146 GB, free: 302.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.451, allocations: 1.062 kB / 1.146 GB, free: 302.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004013/1.455, allocations: 2.553 MB / 1.148 GB, free: 301.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/1.46, allocations: 1.075 MB / 1.149 GB, free: 300.9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.471, allocations: 6.705 MB / 1.156 GB, free: 298.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.473, allocations: 1.932 MB / 1.158 GB, free: 297.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.474, allocations: 286.1 kB / 1.158 GB, free: 297.2 MB / 0.92 GB Notification: Performance of SimCode: time 1.052e-06/1.474, allocations: 0 / 1.158 GB, free: 297.2 MB / 0.92 GB Notification: Performance of Templates: time 0.08485/1.559, allocations: 58.15 MB / 1.215 GB, free: 270.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)