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.0008291/0.0008291, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00486/0.00486, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.146/1.146, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.478/1.478, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004278/0.0004278, allocations: 18.53 kB / 0.6744 GB, free: 25.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5028/0.6658, allocations: 213.2 MB / 0.9962 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.6876, allocations: 21.62 MB / 1.017 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.6897, allocations: 40.41 kB / 1.017 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.6921, allocations: 1.096 MB / 1.018 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008274/0.7004, allocations: 3.83 MB / 1.022 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.7034, allocations: 1.379 MB / 1.024 GB, free: 252 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007622/0.711, allocations: 9.477 MB / 1.033 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.7132, allocations: 1.938 MB / 1.035 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.716, allocations: 1.96 MB / 1.037 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.7193, allocations: 2.451 MB / 1.039 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.7196, allocations: 159.9 kB / 1.039 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006193/0.7258, allocations: 3.934 MB / 1.043 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.7269, allocations: 1.253 MB / 1.044 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.7285, allocations: 1.665 MB / 1.046 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.7346, allocations: 5.736 MB / 1.051 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7347, allocations: 0 / 1.051 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7347, allocations: 0 / 1.051 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.265e-05/0.7347, allocations: 0 / 1.051 GB, free: 14.16 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.007242/0.742, allocations: 3.45 MB / 1.055 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.742, allocations: 8.031 kB / 1.055 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004372/0.7425, allocations: 387.8 kB / 1.055 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.7466, allocations: 0.8198 MB / 1.056 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.7492, allocations: 1.874 MB / 1.058 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.7494, allocations: 201.4 kB / 1.058 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.7497, allocations: 272 kB / 1.058 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00457/0.7543, allocations: 3.275 MB / 1.061 GB, free: 3.715 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.7544, allocations: 7.891 kB / 1.061 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.7546, allocations: 115.9 kB / 1.062 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.7547, allocations: 125.4 kB / 1.062 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00627/0.761, allocations: 4.608 MB / 1.066 GB, free: 14.85 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.01308/0.7741, allocations: 10.87 MB / 1.077 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005578/0.7797, allocations: 4.873 MB / 1.082 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.7829, allocations: 2.52 MB / 1.084 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009543/0.7838, allocations: 0.8681 MB / 1.085 GB, free: 10.83 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.7839, allocations: 77.7 kB / 1.085 GB, free: 10.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=399): time 4.699e-06/0.7839, allocations: 0 / 1.085 GB, free: 10.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=399): time 0.008481/0.7924, allocations: 6.038 MB / 1.091 GB, free: 4.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.7925, allocations: 90.55 kB / 1.091 GB, free: 4.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.7939, allocations: 1.227 MB / 1.092 GB, free: 3.285 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.7941, allocations: 93.7 kB / 1.092 GB, free: 3.188 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.7945, allocations: 0.7978 MB / 1.093 GB, free: 2.379 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008723/0.7954, allocations: 1.332 MB / 1.094 GB, free: 1.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.7957, allocations: 272.7 kB / 1.095 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.7958, allocations: 305.1 kB / 1.095 GB, free: 464 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.798, allocations: 1.603 MB / 1.096 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/0.8004, allocations: 1.923 MB / 1.098 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.8054, allocations: 3.838 MB / 1.102 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.8054, allocations: 0 / 1.102 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005781/0.8112, allocations: 4.187 MB / 1.106 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8112, allocations: 4 kB / 1.106 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8112, allocations: 4.406 kB / 1.106 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.8113, allocations: 23.94 kB / 1.106 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.8138, allocations: 0.6826 MB / 1.107 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.8139, allocations: 23.98 kB / 1.107 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.8163, allocations: 357.2 kB / 1.107 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.8165, allocations: 116 kB / 1.107 GB, free: 3.559 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.001137/0.8176, allocations: 0.7351 MB / 1.108 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.818, allocations: 241.1 kB / 1.108 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/0.8248, allocations: 4.622 MB / 1.113 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/0.8248, allocations: 40 kB / 1.113 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.8248, allocations: 3.938 kB / 1.113 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005055/0.8299, allocations: 3.957 MB / 1.117 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.8407, allocations: 8.261 MB / 1.125 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.8407, allocations: 0 / 1.125 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/0.8434, allocations: 0.671 MB / 1.125 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.8438, allocations: 138.5 kB / 1.126 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.844, allocations: 79.97 kB / 1.126 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.8474, allocations: 4.568 MB / 1.13 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8474, allocations: 0 / 1.13 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009097/0.8565, allocations: 7.025 MB / 1.137 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.8578, allocations: 0.7628 MB / 1.138 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/0.8581, allocations: 68 kB / 1.138 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/0.86, allocations: 222 kB / 1.138 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.8604, allocations: 222.8 kB / 1.138 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/0.8606, allocations: 120 kB / 1.138 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001028/0.8617, allocations: 0.8445 MB / 1.139 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.024e-06/0.8617, allocations: 4 kB / 1.139 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002264/0.8639, allocations: 1.092 MB / 1.14 GB, free: 1.199 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.009596/0.8735, allocations: 7.818 MB / 1.148 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005276/0.8788, allocations: 4.051 MB / 1.152 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8788, allocations: 4 kB / 1.152 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.882, allocations: 2.556 MB / 1.154 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/0.8863, allocations: 1.018 MB / 1.155 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.9188, allocations: 26.19 MB / 1.181 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.9203, allocations: 1.931 MB / 1.183 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003196/0.9235, allocations: 1.223 MB / 1.184 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/0.925, allocations: 1.081 MB / 1.185 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/0.925, allocations: 0 / 1.185 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08178/1.007, allocations: 63.28 MB / 1.247 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.007, allocations: 214.4 kB / 1.247 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/4.18, allocations: 0 / 1.247 GB, free: 3.035 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)