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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001297/0.001297, allocations: 193 kB / 377.1 MB, free: 1.539 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.741/1.741, allocations: 205.4 MB / 0.6366 GB, free: 8.656 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008814/0.0008812, allocations: 94.19 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 8 kB / 0.8749 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2774, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.91/13.19, allocations: 4.642 GB / 5.63 GB, free: 134.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/13.19, allocations: 87.95 kB / 5.63 GB, free: 134.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.172/17.36, allocations: 0.9678 GB / 6.598 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.216e-06/17.36, allocations: 0 / 6.598 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004737/17.36, allocations: 68.64 kB / 6.598 GB, free: 127.9 MB / 0.9636 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.01785/17.38, allocations: 3.681 MB / 6.602 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/17.38, allocations: 13.7 kB / 6.602 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002572/17.38, allocations: 390.6 kB / 6.602 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007307/17.39, allocations: 0.7446 MB / 6.603 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00852/17.4, allocations: 1.986 MB / 6.605 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005711/17.4, allocations: 212.1 kB / 6.605 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/17.4, allocations: 270.6 kB / 6.605 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/17.41, allocations: 3.151 MB / 6.608 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/17.41, allocations: 5.031 kB / 6.608 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/17.42, allocations: 114.6 kB / 6.608 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003321/17.42, allocations: 120.2 kB / 6.608 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/17.43, allocations: 4.48 MB / 6.613 GB, free: 125.9 MB / 0.9636 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.03088/17.46, allocations: 10.79 MB / 6.623 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009329/17.47, allocations: 4.855 MB / 6.628 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/17.47, allocations: 0.8611 MB / 6.629 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/17.47, allocations: 78.58 kB / 6.629 GB, free: 121 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=399): time 1.156e-05/17.47, allocations: 0 / 6.629 GB, free: 121 MB / 0.9636 GB Notification: Performance of matching and sorting (n=399): time 0.01725/17.49, allocations: 6.061 MB / 6.635 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/17.49, allocations: 91.36 kB / 6.635 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/17.49, allocations: 1.11 MB / 6.636 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/17.49, allocations: 95.33 kB / 6.636 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/17.49, allocations: 0.8069 MB / 6.637 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002139/17.5, allocations: 1.327 MB / 6.638 GB, free: 119 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008477/17.5, allocations: 65.97 kB / 6.638 GB, free: 119 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004555/17.5, allocations: 444.5 kB / 6.639 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/17.5, allocations: 1.591 MB / 6.64 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/17.5, allocations: 1.899 MB / 6.642 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/17.51, allocations: 1.889 MB / 6.644 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/17.51, allocations: 0.8438 kB / 6.644 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01194/17.52, allocations: 4.161 MB / 6.648 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/17.52, allocations: 5.031 kB / 6.648 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/17.52, allocations: 4.625 kB / 6.648 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.163e-05/17.52, allocations: 19.03 kB / 6.648 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/17.53, allocations: 0.6789 MB / 6.649 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.88e-05/17.53, allocations: 24.03 kB / 6.649 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/17.53, allocations: 361.9 kB / 6.649 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009717/17.53, allocations: 114.7 kB / 6.649 GB, free: 118.1 MB / 0.9636 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.003304/17.53, allocations: 0.7214 MB / 6.65 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/17.54, allocations: 241.6 kB / 6.65 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/17.55, allocations: 4.617 MB / 6.655 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/17.55, allocations: 40.19 kB / 6.655 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/17.55, allocations: 0 / 6.655 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008185/17.56, allocations: 3.928 MB / 6.658 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008108/17.56, allocations: 3.322 MB / 6.662 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-05/17.56, allocations: 6.75 kB / 6.662 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/17.57, allocations: 0.6541 MB / 6.662 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/17.57, allocations: 145 kB / 6.662 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007114/17.57, allocations: 90.84 kB / 6.663 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/17.57, allocations: 4.567 MB / 6.667 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/17.57, allocations: 3.438 kB / 6.667 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/17.59, allocations: 6.978 MB / 6.674 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/17.59, allocations: 0.7675 MB / 6.675 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/17.59, allocations: 65.12 kB / 6.675 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/17.6, allocations: 211 kB / 6.675 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000732/17.6, allocations: 230.1 kB / 6.675 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005329/17.6, allocations: 109.4 kB / 6.675 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002087/17.6, allocations: 0.8751 MB / 6.676 GB, free: 110 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.31e-07/17.6, allocations: 2.781 kB / 6.676 GB, free: 110 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007261/17.61, allocations: 1.305 MB / 6.677 GB, free: 109.7 MB / 0.9636 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.01806/17.62, allocations: 9.749 MB / 6.687 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008934/17.63, allocations: 4.024 MB / 6.691 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/17.63, allocations: 3.656 kB / 6.691 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005666/17.64, allocations: 2.54 MB / 6.693 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007199/17.65, allocations: 0.9716 MB / 6.694 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/17.67, allocations: 10.99 MB / 6.705 GB, free: 96.95 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/17.67, allocations: 1.983 MB / 6.707 GB, free: 96.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006154/17.68, allocations: 1.216 MB / 6.708 GB, free: 96.06 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003001/17.68, allocations: 1.081 MB / 6.709 GB, free: 95.27 MB / 0.9636 GB Notification: Performance of SimCode: time 2.825e-06/17.68, allocations: 0 / 6.709 GB, free: 95.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/17.84, allocations: 98.36 MB / 6.805 GB, free: 37.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/17.84, allocations: 199.4 kB / 6.805 GB, free: 37.66 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.454/24.29, allocations: 0 / 6.805 GB, free: 37.66 MB / 0.9636 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/linux/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)