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 2.751/2.751, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001444/0.001444, allocations: 176.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001096/0.001096, allocations: 96.53 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.062e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.8992, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.8/14.7, allocations: 4.64 GB / 5.603 GB, free: 34.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/14.7, allocations: 86.84 kB / 5.603 GB, free: 34.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.27/19.97, allocations: 0.9568 GB / 6.56 GB, free: 152.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.973e-06/19.97, allocations: 0 / 6.56 GB, free: 152.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002504/19.97, allocations: 62.27 kB / 6.56 GB, free: 152.9 MB / 0.948 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.01498/19.99, allocations: 3.314 MB / 6.563 GB, free: 151.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/19.99, allocations: 7.219 kB / 6.563 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007042/19.99, allocations: 0.7466 MB / 6.564 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007219/20, allocations: 1.978 MB / 6.566 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/20, allocations: 87.25 kB / 6.566 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009518/20, allocations: 156.7 kB / 6.566 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01212/20.02, allocations: 4.123 MB / 6.57 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/20.03, allocations: 2.721 MB / 6.573 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/20.03, allocations: 3.906 kB / 6.573 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004408/20.03, allocations: 3.625 kB / 6.573 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/20.03, allocations: 118.5 kB / 6.573 GB, free: 148.1 MB / 0.948 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.02781/20.05, allocations: 10.35 MB / 6.583 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/20.06, allocations: 4.793 MB / 6.588 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005899/20.07, allocations: 2.335 MB / 6.59 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/20.07, allocations: 0.8575 MB / 6.591 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.25e-05/20.07, allocations: 81.03 kB / 6.591 GB, free: 137.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=399): time 6.643e-06/20.07, allocations: 0 / 6.591 GB, free: 137.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=399): time 0.01578/20.09, allocations: 4.123 MB / 6.595 GB, free: 135 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/20.09, allocations: 98.55 kB / 6.595 GB, free: 134.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/20.09, allocations: 1.009 MB / 6.596 GB, free: 133.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008848/20.09, allocations: 28.55 kB / 6.596 GB, free: 133.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006685/20.09, allocations: 0.7936 MB / 6.597 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001922/20.09, allocations: 1.281 MB / 6.598 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/20.09, allocations: 3.281 kB / 6.598 GB, free: 131.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003387/20.09, allocations: 449 kB / 6.599 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/20.1, allocations: 1.471 MB / 6.6 GB, free: 129.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005524/20.1, allocations: 1.768 MB / 6.602 GB, free: 128 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008082/20.11, allocations: 2.121 MB / 6.604 GB, free: 125.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/20.11, allocations: 0 / 6.604 GB, free: 125.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.014/20.13, allocations: 4.163 MB / 6.608 GB, free: 121.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/20.13, allocations: 4 kB / 6.608 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/20.13, allocations: 4 kB / 6.608 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.452e-05/20.13, allocations: 27.89 kB / 6.608 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00613/20.13, allocations: 0.6857 MB / 6.609 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.482e-05/20.13, allocations: 16 kB / 6.609 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/20.14, allocations: 292.8 kB / 6.609 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007597/20.14, allocations: 111.9 kB / 6.609 GB, free: 120.6 MB / 0.948 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.0008269/20.14, allocations: 162.1 kB / 6.609 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01374/20.15, allocations: 4.059 MB / 6.613 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/20.15, allocations: 236.5 kB / 6.613 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/20.17, allocations: 4.557 MB / 6.618 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/20.17, allocations: 40 kB / 6.618 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/20.17, allocations: 0 / 6.618 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01264/20.18, allocations: 3.972 MB / 6.622 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/20.21, allocations: 7.927 MB / 6.629 GB, free: 99.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/20.21, allocations: 0 / 6.629 GB, free: 99.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006274/20.21, allocations: 0.6626 MB / 6.63 GB, free: 98.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/20.21, allocations: 138.3 kB / 6.63 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007017/20.21, allocations: 31.97 kB / 6.63 GB, free: 98.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/20.22, allocations: 4.358 MB / 6.635 GB, free: 94.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/20.22, allocations: 0 / 6.635 GB, free: 94.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/20.24, allocations: 6.909 MB / 6.641 GB, free: 87.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003125/20.24, allocations: 0.7628 MB / 6.642 GB, free: 86.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/20.24, allocations: 4 kB / 6.642 GB, free: 86.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004715/20.25, allocations: 146.2 kB / 6.642 GB, free: 86.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008488/20.25, allocations: 222.8 kB / 6.642 GB, free: 85.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003704/20.25, allocations: 108 kB / 6.642 GB, free: 85.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00155/20.25, allocations: 0.792 MB / 6.643 GB, free: 85.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-07/20.25, allocations: 0 / 6.643 GB, free: 85.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006753/20.26, allocations: 1.131 MB / 6.644 GB, free: 83.93 MB / 0.948 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.02332/20.28, allocations: 9.902 MB / 6.654 GB, free: 74.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009056/20.29, allocations: 3.762 MB / 6.658 GB, free: 70.63 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/20.29, allocations: 0 / 6.658 GB, free: 70.63 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005276/20.29, allocations: 2.394 MB / 6.66 GB, free: 68.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008214/20.3, allocations: 0.8991 MB / 6.661 GB, free: 67.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/20.32, allocations: 6.114 MB / 6.667 GB, free: 61.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/20.32, allocations: 1.985 MB / 6.669 GB, free: 59.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00674/20.33, allocations: 1.217 MB / 6.67 GB, free: 58.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003209/20.33, allocations: 1.081 MB / 6.671 GB, free: 56.97 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/20.33, allocations: 0 / 6.671 GB, free: 56.97 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9298/21.26, allocations: 80.63 MB / 6.75 GB, free: 164 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/21.26, allocations: 134.9 kB / 6.75 GB, free: 163.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.38/27.64, allocations: 0 / 6.75 GB, free: 163.8 MB / 0.9636 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)