Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.382/1.382, allocations: 287.4 MB / 302.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 170.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.069/1.069, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006793/0.0006793, allocations: 93.27 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 16.3 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4389/0.575, allocations: 199 MB / 1.173 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.5956, allocations: 20.12 MB / 1.193 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.5968, allocations: 47.22 kB / 1.193 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.5985, allocations: 0.8207 MB / 1.194 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005599/0.6041, allocations: 3.016 MB / 1.197 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.6063, allocations: 1.052 MB / 1.198 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005649/0.612, allocations: 8.021 MB / 1.205 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.6137, allocations: 1.9 MB / 1.207 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.6158, allocations: 2.004 MB / 1.209 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.6178, allocations: 2.392 MB / 1.212 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.6181, allocations: 161.2 kB / 1.212 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.6215, allocations: 1.728 MB / 1.213 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0009596/0.6224, allocations: 1.258 MB / 1.215 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.623, allocations: 0.629 MB / 1.215 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.6259, allocations: 3.959 MB / 1.219 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6259, allocations: 0 / 1.219 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6259, allocations: 0 / 1.219 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.626, allocations: 0 / 1.219 GB, free: 5.652 MB / 0.7448 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.006282/0.6323, allocations: 3.45 MB / 1.222 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6323, allocations: 12.03 kB / 1.222 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003788/0.6327, allocations: 387.8 kB / 1.223 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.6364, allocations: 0.8237 MB / 1.224 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.639, allocations: 1.863 MB / 1.225 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.6391, allocations: 213.3 kB / 1.226 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.6394, allocations: 268 kB / 1.226 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.6437, allocations: 3.251 MB / 1.229 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.6437, allocations: 7.906 kB / 1.229 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.644, allocations: 112 kB / 1.229 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.193e-05/0.6441, allocations: 125.4 kB / 1.229 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005845/0.6499, allocations: 4.6 MB / 1.234 GB, free: 6.371 MB / 0.7605 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.01173/0.6616, allocations: 10.87 MB / 1.244 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/0.6668, allocations: 4.836 MB / 1.249 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.6697, allocations: 2.508 MB / 1.252 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/0.6706, allocations: 0.8683 MB / 1.252 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.6707, allocations: 81.64 kB / 1.253 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=399): time 5.4e-06/0.6707, allocations: 3.984 kB / 1.253 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=399): time 0.007978/0.6787, allocations: 5.995 MB / 1.258 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.6787, allocations: 98.48 kB / 1.258 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.68, allocations: 1.204 MB / 1.26 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.6802, allocations: 93.7 kB / 1.26 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.6806, allocations: 0.8055 MB / 1.261 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/0.6814, allocations: 1.328 MB / 1.262 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.6816, allocations: 68 kB / 1.262 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6817, allocations: 445 kB / 1.262 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.6839, allocations: 1.592 MB / 1.264 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.6862, allocations: 1.904 MB / 1.266 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.6911, allocations: 3.819 MB / 1.269 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6911, allocations: 0 / 1.269 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005329/0.6964, allocations: 4.16 MB / 1.274 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6965, allocations: 9.562 kB / 1.274 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6965, allocations: 4 kB / 1.274 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.6965, allocations: 19.94 kB / 1.274 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.6989, allocations: 0.6826 MB / 1.274 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.072e-05/0.699, allocations: 16 kB / 1.274 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.701, allocations: 367.8 kB / 1.275 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.7012, allocations: 116 kB / 1.275 GB, free: 11.32 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008748/0.7021, allocations: 0.7274 MB / 1.275 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.7024, allocations: 237.1 kB / 1.276 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/0.7086, allocations: 4.611 MB / 1.28 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.7086, allocations: 36 kB / 1.28 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7086, allocations: 7.938 kB / 1.28 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004949/0.7136, allocations: 3.938 MB / 1.284 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.7237, allocations: 8.249 MB / 1.292 GB, free: 9.316 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.7238, allocations: 4 kB / 1.292 GB, free: 9.312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/0.7263, allocations: 0.671 MB / 1.293 GB, free: 8.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.7267, allocations: 134.5 kB / 1.293 GB, free: 8.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.7269, allocations: 83.97 kB / 1.293 GB, free: 8.418 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.7299, allocations: 4.56 MB / 1.297 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.73, allocations: 0 / 1.297 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008423/0.7384, allocations: 6.994 MB / 1.304 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.7394, allocations: 0.7589 MB / 1.305 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/0.7397, allocations: 68 kB / 1.305 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.7415, allocations: 224.5 kB / 1.305 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.7418, allocations: 230.8 kB / 1.305 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.742, allocations: 108 kB / 1.306 GB, free: 11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009235/0.743, allocations: 0.8405 MB / 1.306 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/0.743, allocations: 0 / 1.306 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00191/0.7449, allocations: 1.084 MB / 1.307 GB, free: 9.074 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009029/0.7539, allocations: 7.786 MB / 1.315 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004866/0.7588, allocations: 4.02 MB / 1.319 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7588, allocations: 4 kB / 1.319 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.7617, allocations: 2.541 MB / 1.321 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.7654, allocations: 1.008 MB / 1.322 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/0.7893, allocations: 19.5 MB / 1.341 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.7906, allocations: 1.939 MB / 1.343 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002942/0.7936, allocations: 1.219 MB / 1.345 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.795, allocations: 1.077 MB / 1.346 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.795, allocations: 0 / 1.346 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3885/1.183, allocations: 66.41 MB / 1.41 GB, free: 15.02 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/1.184, allocations: 213.2 kB / 1.411 GB, free: 14.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.664/4.848, allocations: 3.938 kB / 1.411 GB, free: 14.77 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)