Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_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.005299/0.005299, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001491/0.001491, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 71.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2793, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7722/1.052, allocations: 218.5 MB / 1.38 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02671/1.078, allocations: 20.43 MB / 1.4 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/1.081, allocations: 59.34 kB / 1.4 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00317/1.084, allocations: 1.241 MB / 1.401 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/1.094, allocations: 4.082 MB / 1.405 GB, free: 9.559 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/1.098, allocations: 1.542 MB / 1.406 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007218/1.105, allocations: 6.974 MB / 1.413 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/1.108, allocations: 2.362 MB / 1.415 GB, free: 2.828 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/1.111, allocations: 2.362 MB / 1.418 GB, free: 1.512 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/1.114, allocations: 2.459 MB / 1.42 GB, free: 48 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/1.114, allocations: 340.6 kB / 1.42 GB, free: 48 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0063/1.121, allocations: 3.464 MB / 1.424 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.122, allocations: 1.457 MB / 1.425 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001992/1.124, allocations: 1.867 MB / 1.427 GB, free: 9.527 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007131/1.131, allocations: 5.788 MB / 1.433 GB, free: 3.727 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.131, allocations: 0 / 1.433 GB, free: 3.727 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.202e-06/1.131, allocations: 0 / 1.433 GB, free: 3.727 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.229e-05/1.131, allocations: 0 / 1.433 GB, free: 3.727 MB / 1.092 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.008216/1.14, allocations: 4.033 MB / 1.437 GB, free: 15.62 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.14, allocations: 8.031 kB / 1.437 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004742/1.14, allocations: 387.7 kB / 1.437 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/1.145, allocations: 0.8449 MB / 1.438 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/1.149, allocations: 1.946 MB / 1.44 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/1.149, allocations: 205.4 kB / 1.44 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006666/1.15, allocations: 275.9 kB / 1.44 GB, free: 11.91 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005675/1.156, allocations: 3.279 MB / 1.443 GB, free: 8.586 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/1.156, allocations: 0 / 1.443 GB, free: 8.586 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/1.156, allocations: 108 kB / 1.444 GB, free: 8.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/1.156, allocations: 125.4 kB / 1.444 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007362/1.164, allocations: 4.627 MB / 1.448 GB, free: 3.715 MB / 1.107 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.01523/1.179, allocations: 10.94 MB / 1.459 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006057/1.185, allocations: 4.862 MB / 1.464 GB, free: 3.203 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/1.188, allocations: 2.528 MB / 1.466 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.189, allocations: 0.8603 MB / 1.467 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/1.19, allocations: 85.64 kB / 1.467 GB, free: 15.55 MB / 1.139 GB Notification: Performance of pre-optimization done (n=399): time 7.694e-06/1.19, allocations: 0 / 1.467 GB, free: 15.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=399): time 0.009511/1.199, allocations: 6.039 MB / 1.473 GB, free: 9.426 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.199, allocations: 94.55 kB / 1.473 GB, free: 9.32 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.201, allocations: 1.232 MB / 1.474 GB, free: 8.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/1.201, allocations: 93.7 kB / 1.474 GB, free: 7.984 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/1.202, allocations: 0.8268 MB / 1.475 GB, free: 7.148 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.203, allocations: 1.398 MB / 1.476 GB, free: 5.738 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008335/1.204, allocations: 0.547 MB / 1.477 GB, free: 5.184 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.204, allocations: 301.1 kB / 1.477 GB, free: 4.887 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/1.206, allocations: 1.607 MB / 1.479 GB, free: 3.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.209, allocations: 1.909 MB / 1.481 GB, free: 1.324 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/1.215, allocations: 3.835 MB / 1.484 GB, free: 13.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.215, allocations: 7.938 kB / 1.484 GB, free: 13.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00661/1.222, allocations: 4.204 MB / 1.489 GB, free: 9.191 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.222, allocations: 4 kB / 1.489 GB, free: 9.188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/1.222, allocations: 8.406 kB / 1.489 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/1.222, allocations: 20 kB / 1.489 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/1.224, allocations: 0.6826 MB / 1.489 GB, free: 8.477 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/1.224, allocations: 20 kB / 1.489 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/1.227, allocations: 246.1 kB / 1.49 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.227, allocations: 112 kB / 1.49 GB, free: 8.105 MB / 1.154 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.001212/1.228, allocations: 0.7351 MB / 1.49 GB, free: 7.359 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/1.228, allocations: 250.4 kB / 1.491 GB, free: 7.113 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/1.236, allocations: 4.635 MB / 1.495 GB, free: 2.438 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/1.236, allocations: 36 kB / 1.495 GB, free: 2.402 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.236, allocations: 0 / 1.495 GB, free: 2.402 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005808/1.242, allocations: 3.961 MB / 1.499 GB, free: 14.38 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.253, allocations: 8.278 MB / 1.507 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.253, allocations: 0 / 1.507 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.256, allocations: 0.6632 MB / 1.508 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/1.256, allocations: 138.4 kB / 1.508 GB, free: 5.211 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/1.257, allocations: 79.98 kB / 1.508 GB, free: 5.133 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/1.261, allocations: 5.055 MB / 1.513 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.261, allocations: 0 / 1.513 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009819/1.27, allocations: 6.833 MB / 1.52 GB, free: 8.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.272, allocations: 0.768 MB / 1.52 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.272, allocations: 71.98 kB / 1.52 GB, free: 7.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.274, allocations: 86 kB / 1.52 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/1.274, allocations: 222.8 kB / 1.521 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002265/1.274, allocations: 116 kB / 1.521 GB, free: 7.496 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001136/1.275, allocations: 0.8567 MB / 1.522 GB, free: 6.637 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.61e-07/1.275, allocations: 7.938 kB / 1.522 GB, free: 6.629 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002046/1.278, allocations: 1.073 MB / 1.523 GB, free: 5.555 MB / 1.186 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,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.01048/1.288, allocations: 7.624 MB / 1.53 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005944/1.294, allocations: 4.059 MB / 1.534 GB, free: 9.789 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.294, allocations: 128 / 1.534 GB, free: 9.789 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/1.297, allocations: 2.556 MB / 1.537 GB, free: 7.195 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/1.301, allocations: 1.071 MB / 1.538 GB, free: 6.137 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/1.332, allocations: 23.1 MB / 1.56 GB, free: 14.75 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/1.334, allocations: 1.943 MB / 1.562 GB, free: 12.77 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00305/1.337, allocations: 1.215 MB / 1.563 GB, free: 11.54 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.339, allocations: 1.085 MB / 1.564 GB, free: 10.46 MB / 1.232 GB Notification: Performance of SimCode: time 6.61e-07/1.339, allocations: 0 / 1.564 GB, free: 10.46 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.506/3.845, allocations: 66.74 MB / 1.629 GB, free: 8.414 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/23.27, allocations: 5.125 kB / 1.629 GB, free: 8.41 MB / 1.295 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)