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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001195/0.001195, allocations: 199.8 kB / 16.14 MB, free: 6.805 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.137/1.137, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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.507/1.507, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001355/0.001355, allocations: 72.91 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4995/0.6685, allocations: 216.2 MB / 0.9939 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.6883, allocations: 21.87 MB / 1.015 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.691, allocations: 47.19 kB / 1.015 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.6938, allocations: 1.098 MB / 1.016 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00864/0.7025, allocations: 3.824 MB / 1.02 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.7059, allocations: 1.372 MB / 1.021 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008275/0.7142, allocations: 9.482 MB / 1.031 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.7166, allocations: 1.996 MB / 1.033 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.7199, allocations: 2.024 MB / 1.035 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.7238, allocations: 2.535 MB / 1.037 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.7243, allocations: 186.2 kB / 1.037 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.731, allocations: 3.943 MB / 1.041 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.7323, allocations: 1.296 MB / 1.042 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.7344, allocations: 1.696 MB / 1.044 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007297/0.7417, allocations: 5.825 MB / 1.05 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7417, allocations: 0 / 1.05 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7417, allocations: 0 / 1.05 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.571e-05/0.7418, allocations: 0 / 1.05 GB, free: 15.6 MB / 0.7637 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.008318/0.7501, allocations: 3.934 MB / 1.054 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7502, allocations: 8.031 kB / 1.054 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004369/0.7506, allocations: 390.1 kB / 1.054 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/0.755, allocations: 0.8209 MB / 1.055 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.7579, allocations: 1.865 MB / 1.057 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.758, allocations: 199.9 kB / 1.057 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/0.7584, allocations: 282.5 kB / 1.057 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.7631, allocations: 3.279 MB / 1.06 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.7632, allocations: 0 / 1.06 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.7634, allocations: 114.1 kB / 1.06 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.7635, allocations: 125.4 kB / 1.06 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006057/0.7696, allocations: 4.608 MB / 1.065 GB, free: 15.88 MB / 0.7794 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.01371/0.7833, allocations: 10.86 MB / 1.076 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/0.7889, allocations: 4.879 MB / 1.08 GB, free: 15.63 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.7921, allocations: 2.519 MB / 1.083 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009658/0.7931, allocations: 0.8611 MB / 1.084 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.7931, allocations: 77.64 kB / 1.084 GB, free: 12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=399): time 4.97e-06/0.7931, allocations: 4 kB / 1.084 GB, free: 12 MB / 0.795 GB Notification: Performance of matching and sorting (n=399): time 0.008684/0.8018, allocations: 6.015 MB / 1.09 GB, free: 5.898 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.8019, allocations: 94.48 kB / 1.09 GB, free: 5.793 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.8034, allocations: 1.215 MB / 1.091 GB, free: 4.57 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.8036, allocations: 97.7 kB / 1.091 GB, free: 4.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.8041, allocations: 0.804 MB / 1.092 GB, free: 3.656 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009733/0.8051, allocations: 1.335 MB / 1.093 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000765/0.8059, allocations: 0.543 MB / 1.094 GB, free: 1.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.806, allocations: 305.1 kB / 1.094 GB, free: 1.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.8082, allocations: 1.599 MB / 1.095 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.8106, allocations: 1.923 MB / 1.097 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/0.8157, allocations: 3.838 MB / 1.101 GB, free: 10 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8157, allocations: 0 / 1.101 GB, free: 10 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005995/0.8217, allocations: 4.187 MB / 1.105 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.8217, allocations: 6.5 kB / 1.105 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.8218, allocations: 4 kB / 1.105 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.8218, allocations: 19.94 kB / 1.105 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.8243, allocations: 0.6826 MB / 1.106 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/0.8244, allocations: 19.98 kB / 1.106 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.8269, allocations: 369.4 kB / 1.106 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.8271, allocations: 112 kB / 1.106 GB, free: 4.59 MB / 0.8106 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.001119/0.8282, allocations: 0.7274 MB / 1.107 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.8287, allocations: 237.1 kB / 1.107 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006579/0.8352, allocations: 4.628 MB / 1.112 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/0.8353, allocations: 36 kB / 1.112 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.8353, allocations: 7.938 kB / 1.112 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005177/0.8405, allocations: 3.95 MB / 1.116 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.8516, allocations: 8.264 MB / 1.124 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8517, allocations: 4 kB / 1.124 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/0.8543, allocations: 0.667 MB / 1.124 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.8547, allocations: 138.5 kB / 1.125 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.8549, allocations: 83.97 kB / 1.125 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.8583, allocations: 4.56 MB / 1.129 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8583, allocations: 0 / 1.129 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00921/0.8675, allocations: 7.017 MB / 1.136 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.8689, allocations: 0.7589 MB / 1.137 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.8692, allocations: 64 kB / 1.137 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.8711, allocations: 216.9 kB / 1.137 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/0.8715, allocations: 230.8 kB / 1.137 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/0.8717, allocations: 112 kB / 1.137 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001016/0.8727, allocations: 0.8523 MB / 1.138 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8727, allocations: 0 / 1.138 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002256/0.875, allocations: 1.084 MB / 1.139 GB, free: 2.371 MB / 0.8419 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.009499/0.8845, allocations: 7.816 MB / 1.147 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005277/0.8898, allocations: 4.043 MB / 1.151 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8898, allocations: 0 / 1.151 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/0.8929, allocations: 2.552 MB / 1.153 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/0.8969, allocations: 1.023 MB / 1.154 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/0.9283, allocations: 25.94 MB / 1.18 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.9297, allocations: 1.939 MB / 1.181 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003187/0.9329, allocations: 1.215 MB / 1.183 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/0.9344, allocations: 1.081 MB / 1.184 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.9344, allocations: 0 / 1.184 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08398/1.018, allocations: 63.92 MB / 1.246 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.019, allocations: 222.8 kB / 1.246 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.176, allocations: 8 kB / 1.246 GB, free: 3.82 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)