Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 174.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001028, allocations: 86.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.948e-05/4.95e-05, allocations: 7.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.29/11.54, allocations: 4.634 GB / 5.526 GB, free: 80.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/11.54, allocations: 83.95 kB / 5.526 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.664/15.2, allocations: 0.9667 GB / 6.493 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.943e-06/15.2, allocations: 0 / 6.493 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000182/15.2, allocations: 60 kB / 6.493 GB, free: 111.5 MB / 0.8855 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.01067/15.21, allocations: 3.312 MB / 6.496 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/15.21, allocations: 8.031 kB / 6.496 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001411/15.22, allocations: 387.8 kB / 6.497 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/15.22, allocations: 0.7495 MB / 6.497 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/15.23, allocations: 1.969 MB / 6.499 GB, free: 105 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/15.23, allocations: 201.4 kB / 6.5 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007531/15.23, allocations: 272 kB / 6.5 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005828/15.23, allocations: 3.096 MB / 6.503 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-05/15.23, allocations: 3.906 kB / 6.503 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/15.23, allocations: 116 kB / 6.503 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/15.23, allocations: 125.4 kB / 6.503 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007099/15.24, allocations: 4.386 MB / 6.507 GB, free: 96.76 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01603/15.26, allocations: 10.79 MB / 6.518 GB, free: 85.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005114/15.26, allocations: 4.784 MB / 6.523 GB, free: 80.55 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/15.26, allocations: 2.458 MB / 6.525 GB, free: 78.08 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/15.27, allocations: 0.8605 MB / 6.526 GB, free: 77.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/15.27, allocations: 77.7 kB / 6.526 GB, free: 76.97 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=399): time 5.69e-06/15.27, allocations: 0 / 6.526 GB, free: 76.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=399): time 0.006769/15.27, allocations: 4.004 MB / 6.53 GB, free: 72.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/15.27, allocations: 94.55 kB / 6.53 GB, free: 72.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/15.27, allocations: 1.093 MB / 6.531 GB, free: 71.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/15.27, allocations: 93.7 kB / 6.531 GB, free: 71.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/15.27, allocations: 0.8095 MB / 6.532 GB, free: 70.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/15.28, allocations: 1.332 MB / 6.533 GB, free: 69.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/15.28, allocations: 64 kB / 6.533 GB, free: 69.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001664/15.28, allocations: 441.1 kB / 6.534 GB, free: 68.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/15.28, allocations: 1.545 MB / 6.535 GB, free: 67.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/15.28, allocations: 1.857 MB / 6.537 GB, free: 65.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/15.28, allocations: 1.849 MB / 6.539 GB, free: 63.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/15.28, allocations: 0 / 6.539 GB, free: 63.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005575/15.29, allocations: 4.074 MB / 6.543 GB, free: 59.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/15.29, allocations: 7.938 kB / 6.543 GB, free: 59.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/15.29, allocations: 7.938 kB / 6.543 GB, free: 59.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/15.29, allocations: 16 kB / 6.543 GB, free: 59.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/15.29, allocations: 0.6831 MB / 6.543 GB, free: 58.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.392e-05/15.29, allocations: 20 kB / 6.543 GB, free: 58.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/15.29, allocations: 365.1 kB / 6.544 GB, free: 58.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/15.29, allocations: 112 kB / 6.544 GB, free: 58.33 MB / 0.8855 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 () * 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.0005168/15.3, allocations: 288.3 kB / 6.544 GB, free: 58.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/15.3, allocations: 245 kB / 6.544 GB, free: 57.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006811/15.3, allocations: 4.517 MB / 6.549 GB, free: 53.24 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/15.3, allocations: 43.95 kB / 6.549 GB, free: 53.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/15.3, allocations: 4 kB / 6.549 GB, free: 53.19 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004868/15.31, allocations: 3.841 MB / 6.553 GB, free: 49.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/15.32, allocations: 8.171 MB / 6.561 GB, free: 41.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/15.32, allocations: 0 / 6.561 GB, free: 41.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/15.32, allocations: 0.671 MB / 6.561 GB, free: 40.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/15.32, allocations: 138.3 kB / 6.561 GB, free: 40.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/15.32, allocations: 91.91 kB / 6.561 GB, free: 40.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/15.33, allocations: 4.54 MB / 6.566 GB, free: 35.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/15.33, allocations: 4.188 kB / 6.566 GB, free: 35.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008452/15.33, allocations: 6.854 MB / 6.573 GB, free: 28.28 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/15.34, allocations: 0.7667 MB / 6.573 GB, free: 27.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/15.34, allocations: 64 kB / 6.573 GB, free: 27.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/15.34, allocations: 211.7 kB / 6.574 GB, free: 27.22 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/15.34, allocations: 226.8 kB / 6.574 GB, free: 27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/15.34, allocations: 112 kB / 6.574 GB, free: 26.89 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001038/15.34, allocations: 0.8658 MB / 6.575 GB, free: 26.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/15.34, allocations: 0 / 6.575 GB, free: 26.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003644/15.34, allocations: 1.307 MB / 6.576 GB, free: 24.71 MB / 0.8855 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 () * 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.01103/15.36, allocations: 9.634 MB / 6.585 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005324/15.36, allocations: 3.939 MB / 6.589 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/15.36, allocations: 0 / 6.589 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/15.36, allocations: 2.489 MB / 6.592 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/15.37, allocations: 0.967 MB / 6.593 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/15.38, allocations: 6.428 MB / 6.599 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/15.38, allocations: 1.982 MB / 6.601 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003872/15.38, allocations: 1.222 MB / 6.602 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/15.39, allocations: 1.077 MB / 6.603 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/15.39, allocations: 0 / 6.603 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8439/16.23, allocations: 105.5 MB / 6.706 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/16.23, allocations: 180.6 kB / 6.706 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.998/22.23, allocations: 3.938 kB / 6.706 GB, free: 139.1 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)